Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.353/3.353, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.8e-05, allocations: 2.969 kB / 0.8774 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01081/0.01083, allocations: 6.805 MB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006398/0.01723, allocations: 3.089 MB / 0.8871 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007608/0.01799, allocations: 35.69 kB / 0.8871 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.02126, allocations: 0.9802 MB / 0.8881 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001851/0.02311, allocations: 0.5279 MB / 0.8886 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.02449, allocations: 438.7 kB / 0.889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.02664, allocations: 1.259 MB / 0.8903 GB, free: 9.508 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.02785, allocations: 0.5295 MB / 0.8908 GB, free: 8.977 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.02943, allocations: 0.6624 MB / 0.8914 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.03052, allocations: 482.7 kB / 0.8919 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002272/0.03075, allocations: 68 kB / 0.892 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009408/0.03169, allocations: 355.1 kB / 0.8923 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.0321, allocations: 331 kB / 0.8926 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.03261, allocations: 319.2 kB / 0.8929 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.03446, allocations: 1.242 MB / 0.8941 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.03447, allocations: 4 kB / 0.8941 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.204e-06/0.03447, allocations: 0 / 0.8941 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.03449, allocations: 0 / 0.8941 GB, free: 5.539 MB / 0.8542 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.002523/0.03701, allocations: 1.262 MB / 0.8954 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.03705, allocations: 8.031 kB / 0.8954 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.03876, allocations: 347.7 kB / 0.8957 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.03987, allocations: 0.5408 MB / 0.8962 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.03992, allocations: 45.69 kB / 0.8963 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.04005, allocations: 76.3 kB / 0.8963 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.0417, allocations: 1.146 MB / 0.8975 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.04173, allocations: 8.125 kB / 0.8975 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.0418, allocations: 28.38 kB / 0.8975 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.04197, allocations: 89.19 kB / 0.8976 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.04284, allocations: 416.6 kB / 0.898 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00665/0.04949, allocations: 5.92 MB / 0.9038 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008436/0.05033, allocations: 309.7 kB / 0.9041 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.05066, allocations: 149.1 kB / 0.9042 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.0507, allocations: 8.5 kB / 0.9042 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.05075, allocations: 41.89 kB / 0.9042 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/0.05075, allocations: 4 kB / 0.9043 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.003455/0.0542, allocations: 1.146 MB / 0.9054 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.05426, allocations: 59.89 kB / 0.9054 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.05504, allocations: 0.6312 MB / 0.906 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.05509, allocations: 37.7 kB / 0.9061 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.05551, allocations: 490.6 kB / 0.9065 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.0557, allocations: 190.5 kB / 0.9067 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.05594, allocations: 140.2 kB / 0.9069 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003562/0.05629, allocations: 0.5665 MB / 0.9074 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.05663, allocations: 141.9 kB / 0.9076 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.05724, allocations: 468.6 kB / 0.908 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.05847, allocations: 0.6405 MB / 0.9086 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.05848, allocations: 4 kB / 0.9086 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00174/0.06022, allocations: 0.8192 MB / 0.9094 GB, free: 5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.06024, allocations: 8 kB / 0.9094 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.06026, allocations: 7.984 kB / 0.9094 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/0.06177, allocations: 343 kB / 0.9098 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.06226, allocations: 127.8 kB / 0.9099 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008727/0.07099, allocations: 7.779 MB / 0.9175 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.0716, allocations: 43.91 kB / 0.9175 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.989e-05/0.07168, allocations: 35.88 kB / 0.9176 GB, free: 12.16 MB / 0.8855 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.000377/0.07205, allocations: 224.3 kB / 0.9178 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.07224, allocations: 91.56 kB / 0.9179 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.07372, allocations: 0.5844 MB / 0.9184 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.07373, allocations: 7.984 kB / 0.9184 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.07374, allocations: 4 kB / 0.9184 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.07374, allocations: 0 / 0.9184 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.07649, allocations: 1.311 MB / 0.9197 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.0765, allocations: 4 kB / 0.9197 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.07679, allocations: 63.94 kB / 0.9198 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.07819, allocations: 318.6 kB / 0.9201 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.07823, allocations: 15.98 kB / 0.9201 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008393/0.08662, allocations: 7.768 MB / 0.9277 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.08663, allocations: 4 kB / 0.9277 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.0883, allocations: 0.7832 MB / 0.9285 GB, free: 300 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.08868, allocations: 103.7 kB / 0.9286 GB, free: 196 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.0888, allocations: 15.97 kB / 0.9286 GB, free: 180 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.08922, allocations: 31.97 kB / 0.9286 GB, free: 148 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.08936, allocations: 47.86 kB / 0.9287 GB, free: 100 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.0894, allocations: 12 kB / 0.9287 GB, free: 88 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005617/0.08996, allocations: 402.8 kB / 0.9291 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.08996, allocations: 3.938 kB / 0.9291 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009456/0.09091, allocations: 228 kB / 0.9293 GB, free: 15.46 MB / 0.9011 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.0004734/0.09138, allocations: 115.1 kB / 0.9294 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.09364, allocations: 1.249 MB / 0.9306 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.09364, allocations: 0 / 0.9306 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.09514, allocations: 1.008 MB / 0.9316 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.09626, allocations: 201.7 kB / 0.9318 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.09891, allocations: 1.275 MB / 0.933 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.09948, allocations: 407.1 kB / 0.9334 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003706/0.09985, allocations: 97.45 kB / 0.9335 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.09997, allocations: 40.48 kB / 0.9335 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of SimCode: time 1.432e-06/0.09997, allocations: 0 / 0.9335 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of Templates: time 0.0237/0.1237, allocations: 11.43 MB / 0.9447 GB, free: 15.66 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.994697498041205]