Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 496 MB / 0.7835 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 64.14 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 173.6 MB / 1.307 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01106/0.3761, allocations: 6.985 MB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006195/0.3823, allocations: 3.168 MB / 1.317 GB, free: 7.633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007703/0.383, allocations: 43.56 kB / 1.317 GB, free: 7.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.386, allocations: 0.9939 MB / 1.318 GB, free: 6.594 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.3875, allocations: 0.5207 MB / 1.319 GB, free: 6.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3889, allocations: 434.7 kB / 1.319 GB, free: 5.648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.3907, allocations: 1.225 MB / 1.32 GB, free: 4.418 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.3918, allocations: 474.7 kB / 1.321 GB, free: 3.949 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.3928, allocations: 490.3 kB / 1.321 GB, free: 3.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.3938, allocations: 0.5448 MB / 1.322 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.394, allocations: 72 kB / 1.322 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009013/0.3949, allocations: 387.2 kB / 1.322 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000427/0.3953, allocations: 319 kB / 1.323 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.396, allocations: 449.7 kB / 1.323 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.3979, allocations: 1.222 MB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3979, allocations: 0 / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3979, allocations: 0 / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.582e-05/0.3979, allocations: 3.984 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002484/0.4004, allocations: 1.104 MB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4005, allocations: 8.922 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.4021, allocations: 244.1 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.4033, allocations: 0.5152 MB / 1.326 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.314e-05/0.4034, allocations: 53.67 kB / 1.326 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.4035, allocations: 68.3 kB / 1.326 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.4054, allocations: 1.085 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.4054, allocations: 3.938 kB / 1.327 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.4055, allocations: 35.98 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.4056, allocations: 89.19 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.407, allocations: 0.7465 MB / 1.328 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00658/0.4136, allocations: 5.807 MB / 1.334 GB, free: 6.156 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.4146, allocations: 0.5125 MB / 1.334 GB, free: 5.629 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004413/0.415, allocations: 282 kB / 1.334 GB, free: 5.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.4151, allocations: 4.438 kB / 1.334 GB, free: 5.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.4151, allocations: 43 kB / 1.334 GB, free: 5.297 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.4151, allocations: 0 / 1.334 GB, free: 5.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.003919/0.419, allocations: 1.678 MB / 1.336 GB, free: 3.602 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.4191, allocations: 59.84 kB / 1.336 GB, free: 3.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.4198, allocations: 0.5548 MB / 1.337 GB, free: 2.965 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.4198, allocations: 37.7 kB / 1.337 GB, free: 2.922 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.4202, allocations: 428 kB / 1.337 GB, free: 2.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.4203, allocations: 182.5 kB / 1.337 GB, free: 2.316 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.4205, allocations: 122.6 kB / 1.337 GB, free: 2.191 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4207, allocations: 382.6 kB / 1.338 GB, free: 1.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.4212, allocations: 273.8 kB / 1.338 GB, free: 1.539 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.4218, allocations: 496.9 kB / 1.339 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.4229, allocations: 0.8083 MB / 1.339 GB, free: 56 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4229, allocations: 7.938 kB / 1.339 GB, free: 48 kB / 1.029 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002264/0.4251, allocations: 1.074 MB / 1.34 GB, free: 14.96 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.4251, allocations: 11.98 kB / 1.34 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4252, allocations: 8 kB / 1.34 GB, free: 14.94 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000916/0.4261, allocations: 279.5 kB / 1.341 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.4266, allocations: 123.8 kB / 1.341 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007109/0.4337, allocations: 6.741 MB / 1.347 GB, free: 7.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.4342, allocations: 35.97 kB / 1.347 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.4343, allocations: 28 kB / 1.347 GB, free: 7.266 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000549/0.4349, allocations: 262.3 kB / 1.348 GB, free: 7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/0.4351, allocations: 75.56 kB / 1.348 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.4368, allocations: 0.869 MB / 1.349 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.4368, allocations: 8 kB / 1.349 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.4369, allocations: 11.94 kB / 1.349 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4369, allocations: 3.984 kB / 1.349 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.4398, allocations: 1.681 MB / 1.35 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4398, allocations: 0 / 1.35 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.4401, allocations: 63.83 kB / 1.35 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007963/0.4409, allocations: 267.4 kB / 1.351 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.4409, allocations: 8 kB / 1.351 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006993/0.4479, allocations: 6.726 MB / 1.357 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.4479, allocations: 4 kB / 1.357 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.4496, allocations: 0.9919 MB / 1.358 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.45, allocations: 115.5 kB / 1.358 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4501, allocations: 12 kB / 1.358 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003815/0.4504, allocations: 27.91 kB / 1.358 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.4506, allocations: 43.92 kB / 1.358 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.4506, allocations: 16 kB / 1.358 GB, free: 11.47 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004785/0.4511, allocations: 383 kB / 1.359 GB, free: 11.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4511, allocations: 0 / 1.359 GB, free: 11.1 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008618/0.4519, allocations: 228 kB / 1.359 GB, free: 10.88 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001609/0.4521, allocations: 120.4 kB / 1.359 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002129/0.4542, allocations: 1.228 MB / 1.36 GB, free: 9.469 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4542, allocations: 3.938 kB / 1.36 GB, free: 9.465 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.4555, allocations: 0.8581 MB / 1.361 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.4566, allocations: 217.8 kB / 1.361 GB, free: 8.352 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.459, allocations: 1.352 MB / 1.363 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.4598, allocations: 1.009 MB / 1.364 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003848/0.4602, allocations: 122 kB / 1.364 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4603, allocations: 43.38 kB / 1.364 GB, free: 5.75 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4603, allocations: 0 / 1.364 GB, free: 5.75 MB / 1.061 GB Notification: Performance of Templates: time 0.0228/0.4831, allocations: 11.83 MB / 1.375 GB, free: 10.05 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.303752331994474]