Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.00179/0.00179, allocations: 88.72 kB / 19.44 MB, free: 356 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.002443/0.002443, allocations: 157.6 kB / 22.75 MB, free: 1.68 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.501/1.501, allocations: 177.1 MB / 203.1 MB, free: 5.527 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.188/3.188, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.564e-05, allocations: 5.406 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01121/0.01124, allocations: 6.483 MB / 0.8839 GB, free: 24 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006459/0.0177, allocations: 3.012 MB / 0.8869 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005582/0.01826, allocations: 39.62 kB / 0.8869 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.0213, allocations: 0.9567 MB / 0.8878 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.02285, allocations: 0.5357 MB / 0.8884 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.0242, allocations: 458.7 kB / 0.8888 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.02601, allocations: 1.263 MB / 0.89 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.02703, allocations: 0.5372 MB / 0.8905 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.02814, allocations: 0.6585 MB / 0.8912 GB, free: 8.551 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008504/0.02899, allocations: 474.7 kB / 0.8916 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.02912, allocations: 72 kB / 0.8917 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008191/0.02994, allocations: 355.1 kB / 0.8921 GB, free: 7.668 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004189/0.03036, allocations: 335 kB / 0.8924 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.03081, allocations: 307.3 kB / 0.8927 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.03262, allocations: 1.25 MB / 0.8939 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.03263, allocations: 4 kB / 0.8939 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.182e-06/0.03263, allocations: 3.938 kB / 0.8939 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.03264, allocations: 0 / 0.8939 GB, free: 5.777 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.002304/0.03495, allocations: 1.104 MB / 0.895 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.03499, allocations: 8.031 kB / 0.895 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.03687, allocations: 347.7 kB / 0.8953 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.03799, allocations: 0.5703 MB / 0.8959 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.03805, allocations: 49.69 kB / 0.8959 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.03819, allocations: 68.36 kB / 0.896 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.04027, allocations: 1.332 MB / 0.8973 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.0403, allocations: 8.125 kB / 0.8973 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.04038, allocations: 24.38 kB / 0.8973 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/0.04057, allocations: 89.19 kB / 0.8974 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.04195, allocations: 0.7542 MB / 0.8981 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006159/0.04811, allocations: 4.542 MB / 0.9026 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.04928, allocations: 0.501 MB / 0.9031 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.04979, allocations: 286.2 kB / 0.9033 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.04983, allocations: 12.5 kB / 0.9033 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.04987, allocations: 39.06 kB / 0.9034 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.416e-06/0.04988, allocations: 0 / 0.9034 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.00455/0.05443, allocations: 1.701 MB / 0.905 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.05448, allocations: 55.91 kB / 0.9051 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/0.05522, allocations: 0.5106 MB / 0.9056 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.05528, allocations: 41.7 kB / 0.9056 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.05568, allocations: 427.8 kB / 0.906 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.05588, allocations: 182.5 kB / 0.9062 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.05612, allocations: 122.6 kB / 0.9063 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002468/0.05637, allocations: 370.8 kB / 0.9067 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.05687, allocations: 273.8 kB / 0.9069 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.0576, allocations: 496.9 kB / 0.9074 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.05894, allocations: 0.8164 MB / 0.9082 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.05895, allocations: 4 kB / 0.9082 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002311/0.06126, allocations: 1.101 MB / 0.9093 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.06129, allocations: 11.53 kB / 0.9093 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.06131, allocations: 8 kB / 0.9093 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.06309, allocations: 371 kB / 0.9097 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/0.06366, allocations: 127.8 kB / 0.9098 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008982/0.07265, allocations: 6.618 MB / 0.9163 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.07341, allocations: 39.95 kB / 0.9163 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.07347, allocations: 31.94 kB / 0.9163 GB, free: 13.7 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.0005107/0.07399, allocations: 249.6 kB / 0.9166 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.07416, allocations: 79.58 kB / 0.9166 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.0761, allocations: 0.8858 MB / 0.9175 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.07611, allocations: 4 kB / 0.9175 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.07612, allocations: 4 kB / 0.9175 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.07613, allocations: 0 / 0.9175 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.07923, allocations: 1.534 MB / 0.919 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/0.07927, allocations: 8 kB / 0.919 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.07959, allocations: 59.89 kB / 0.9191 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.08114, allocations: 355.3 kB / 0.9194 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.08119, allocations: 12 kB / 0.9194 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008432/0.08962, allocations: 6.603 MB / 0.9259 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.08963, allocations: 7.969 kB / 0.9259 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.09164, allocations: 0.9856 MB / 0.9268 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003201/0.09196, allocations: 123.5 kB / 0.927 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.09204, allocations: 8 kB / 0.927 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.09247, allocations: 31.97 kB / 0.927 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.09261, allocations: 47.8 kB / 0.927 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.09265, allocations: 15.98 kB / 0.9271 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000499/0.09315, allocations: 342.9 kB / 0.9274 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.09315, allocations: 0 / 0.9274 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009161/0.09407, allocations: 228 kB / 0.9276 GB, free: 1.578 MB / 0.8855 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.0001886/0.09426, allocations: 115.2 kB / 0.9277 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.09661, allocations: 1.231 MB / 0.9289 GB, free: 184 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.09662, allocations: 0 / 0.9289 GB, free: 184 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.09813, allocations: 0.8697 MB / 0.9298 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.09921, allocations: 209.8 kB / 0.93 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.1018, allocations: 1.366 MB / 0.9313 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.1024, allocations: 412.8 kB / 0.9317 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003923/0.1028, allocations: 117.5 kB / 0.9318 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.1029, allocations: 44.48 kB / 0.9318 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of SimCode: time 8.42e-07/0.1029, allocations: 3.938 kB / 0.9318 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of Templates: time 0.02302/0.126, allocations: 11.33 MB / 0.9429 GB, free: 1.941 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.543777142069302]