Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001815/0.001815, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.002118/0.002117, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.459/1.459, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.019/3.019, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002976/0.002976, allocations: 67.89 kB / 1.103 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.064, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007714/1.072, allocations: 6.093 MB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005362/1.077, allocations: 3.152 MB / 1.272 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008914/1.078, allocations: 29.16 kB / 1.272 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/1.081, allocations: 0.9222 MB / 1.273 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001712/1.083, allocations: 482.6 kB / 1.273 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/1.084, allocations: 487.4 kB / 1.273 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001926/1.086, allocations: 1.096 MB / 1.275 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/1.087, allocations: 0.6278 MB / 1.275 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009177/1.088, allocations: 443.7 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008035/1.089, allocations: 477.1 kB / 1.276 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/1.089, allocations: 58.62 kB / 1.276 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/1.09, allocations: 486.9 kB / 1.277 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/1.091, allocations: 286.3 kB / 1.277 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005471/1.091, allocations: 400 kB / 1.277 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/1.094, allocations: 1.175 MB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/1.094, allocations: 1.156 kB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.294e-06/1.094, allocations: 0.6094 kB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.168e-05/1.094, allocations: 4 kB / 1.278 GB, free: 14.57 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002267/1.096, allocations: 1.081 MB / 1.279 GB, free: 13.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.096, allocations: 9.406 kB / 1.279 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/1.098, allocations: 223.1 kB / 1.28 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.099, allocations: 0.5878 MB / 1.28 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/1.099, allocations: 46.73 kB / 1.28 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.099, allocations: 66.88 kB / 1.28 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/1.101, allocations: 1.025 MB / 1.281 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/1.101, allocations: 12.09 kB / 1.281 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/1.101, allocations: 32.8 kB / 1.281 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/1.101, allocations: 69.53 kB / 1.281 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.102, allocations: 0.6907 MB / 1.282 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006155/1.108, allocations: 5.735 MB / 1.288 GB, free: 7.441 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/1.109, allocations: 0.6044 MB / 1.288 GB, free: 7.066 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/1.11, allocations: 436.5 kB / 1.289 GB, free: 6.922 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/1.11, allocations: 8.047 kB / 1.289 GB, free: 6.918 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.11, allocations: 38.2 kB / 1.289 GB, free: 6.875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=41): time 2.495e-06/1.11, allocations: 0 / 1.289 GB, free: 6.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.004944/1.115, allocations: 2.02 MB / 1.291 GB, free: 5.832 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.115, allocations: 56.22 kB / 1.291 GB, free: 5.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/1.116, allocations: 462.4 kB / 1.291 GB, free: 5.547 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/1.116, allocations: 31.58 kB / 1.291 GB, free: 5.512 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/1.116, allocations: 393.9 kB / 1.292 GB, free: 5.199 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/1.117, allocations: 155.5 kB / 1.292 GB, free: 5.078 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/1.117, allocations: 112.8 kB / 1.292 GB, free: 5.012 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.117, allocations: 368.6 kB / 1.292 GB, free: 4.672 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/1.117, allocations: 239.6 kB / 1.292 GB, free: 4.594 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007057/1.118, allocations: 462.7 kB / 1.293 GB, free: 4.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/1.119, allocations: 0.74 MB / 1.294 GB, free: 3.727 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.119, allocations: 1.438 kB / 1.294 GB, free: 3.727 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002087/1.121, allocations: 1.052 MB / 1.295 GB, free: 3.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.121, allocations: 6.938 kB / 1.295 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.121, allocations: 11.81 kB / 1.295 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.123, allocations: 323.1 kB / 1.295 GB, free: 3.176 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/1.123, allocations: 93.98 kB / 1.295 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/1.131, allocations: 7.469 MB / 1.302 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/1.132, allocations: 33.05 kB / 1.302 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/1.132, allocations: 27.16 kB / 1.302 GB, free: 12.79 MB / 1.029 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000465/1.132, allocations: 247.7 kB / 1.303 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/1.132, allocations: 64.7 kB / 1.303 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/1.134, allocations: 0.8989 MB / 1.304 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.134, allocations: 4.625 kB / 1.304 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.134, allocations: 11.94 kB / 1.304 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/1.134, allocations: 3.719 kB / 1.304 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/1.137, allocations: 1.671 MB / 1.305 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.137, allocations: 1.281 kB / 1.305 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.138, allocations: 46.88 kB / 1.305 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.139, allocations: 309.7 kB / 1.306 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/1.139, allocations: 11.81 kB / 1.306 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008617/1.147, allocations: 7.466 MB / 1.313 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.147, allocations: 10.47 kB / 1.313 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/1.149, allocations: 0.9855 MB / 1.314 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/1.15, allocations: 178.9 kB / 1.314 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/1.15, allocations: 11.97 kB / 1.314 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/1.15, allocations: 19.78 kB / 1.314 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/1.15, allocations: 47.72 kB / 1.314 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/1.15, allocations: 12.84 kB / 1.314 GB, free: 4.129 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004618/1.151, allocations: 307.6 kB / 1.314 GB, free: 3.984 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.2e-07/1.151, allocations: 0 / 1.314 GB, free: 3.984 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001008/1.152, allocations: 194 kB / 1.315 GB, free: 3.965 MB / 1.029 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001996/1.152, allocations: 111.6 kB / 1.315 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002264/1.154, allocations: 1.192 MB / 1.316 GB, free: 3.141 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.154, allocations: 5.125 kB / 1.316 GB, free: 3.137 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/1.156, allocations: 0.858 MB / 1.317 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/1.157, allocations: 211.1 kB / 1.317 GB, free: 2.457 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/1.159, allocations: 1.29 MB / 1.318 GB, free: 1.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008361/1.16, allocations: 0.9964 MB / 1.319 GB, free: 1.008 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/1.16, allocations: 37.55 kB / 1.319 GB, free: 1 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/1.16, allocations: 1.531 kB / 1.319 GB, free: 1 MB / 1.029 GB Notification: Performance of Templates: time 0.03083/1.191, allocations: 18.48 MB / 1.337 GB, free: 11.66 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 14.750395686831325]