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.001717/0.001717, allocations: 85.95 kB / 19.87 MB, free: 4.605 MB / 18.57 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.002132/0.002132, allocations: 165.7 kB / 23.27 MB, free: 1.215 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 0.9816/0.9816, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.315/2.315, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 GB " [Timeout remaining time 177] 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.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",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.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.433e-05/3.631e-05, allocations: 17 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004882/0.004919, allocations: 4.726 MB / 0.8944 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.007718, allocations: 1.688 MB / 0.896 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.008088, allocations: 35.69 kB / 0.896 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.008736, allocations: 218.4 kB / 0.8963 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.009409, allocations: 449 kB / 0.8967 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.01019, allocations: 375.2 kB / 0.897 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009462/0.01113, allocations: 1.271 MB / 0.8983 GB, free: 0.9766 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007179/0.01185, allocations: 0.541 MB / 0.8988 GB, free: 440 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.01263, allocations: 0.6663 MB / 0.8995 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006807/0.01331, allocations: 0.4948 MB / 0.8999 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.0134, allocations: 64 kB / 0.9 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.01369, allocations: 135.9 kB / 0.9001 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.01395, allocations: 323.1 kB / 0.9004 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.01423, allocations: 311.2 kB / 0.9007 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.01501, allocations: 0.7474 MB / 0.9015 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01502, allocations: 0 / 0.9015 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01502, allocations: 0 / 0.9015 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.01503, allocations: 0 / 0.9015 GB, free: 13.7 MB / 0.8698 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.001399/0.01643, allocations: 1.168 MB / 0.9026 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.01648, allocations: 12.62 kB / 0.9026 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.01748, allocations: 279.9 kB / 0.9029 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007011/0.01818, allocations: 0.5276 MB / 0.9034 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.01823, allocations: 53.67 kB / 0.9035 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.01832, allocations: 68.36 kB / 0.9035 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.01934, allocations: 1.025 MB / 0.9045 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.01936, allocations: 8.125 kB / 0.9045 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/0.01942, allocations: 36.36 kB / 0.9046 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001318/0.01955, allocations: 85.19 kB / 0.9046 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.01997, allocations: 292.5 kB / 0.9049 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003666/0.02363, allocations: 5.577 MB / 0.9104 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.02413, allocations: 254.4 kB / 0.9106 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.02429, allocations: 117.1 kB / 0.9107 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.02433, allocations: 8.5 kB / 0.9107 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.02462, allocations: 45.89 kB / 0.9108 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.745e-06/0.02463, allocations: 0 / 0.9108 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001958/0.02658, allocations: 0.8928 MB / 0.9116 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.02662, allocations: 55.91 kB / 0.9117 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.02703, allocations: 0.5293 MB / 0.9122 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.02706, allocations: 33.7 kB / 0.9122 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.02733, allocations: 474.5 kB / 0.9127 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.02744, allocations: 182.5 kB / 0.9129 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.0276, allocations: 132.2 kB / 0.913 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.0278, allocations: 0.5468 MB / 0.9135 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.02794, allocations: 85.94 kB / 0.9136 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.02824, allocations: 396.6 kB / 0.914 GB, free: 160 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.02878, allocations: 0.5428 MB / 0.9145 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.02879, allocations: 4 kB / 0.9145 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001002/0.02979, allocations: 0.6708 MB / 0.9152 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.02981, allocations: 8.688 kB / 0.9152 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.02983, allocations: 8 kB / 0.9152 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008617/0.03069, allocations: 306.4 kB / 0.9155 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.031, allocations: 107.8 kB / 0.9156 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004809/0.03581, allocations: 7.481 MB / 0.9229 GB, free: 6.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.03617, allocations: 23.98 kB / 0.9229 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.03621, allocations: 24 kB / 0.9229 GB, free: 6.355 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.00024/0.03645, allocations: 204.4 kB / 0.9231 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.03656, allocations: 87.52 kB / 0.9232 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007586/0.03732, allocations: 0.4946 MB / 0.9237 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.03732, allocations: 4 kB / 0.9237 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.03733, allocations: 7.938 kB / 0.9237 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.03733, allocations: 3.938 kB / 0.9237 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.03895, allocations: 1.014 MB / 0.9247 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.03896, allocations: 0 / 0.9247 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.03911, allocations: 47.92 kB / 0.9248 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/0.03989, allocations: 286.6 kB / 0.925 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.03992, allocations: 8 kB / 0.925 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.04425, allocations: 7.474 MB / 0.9323 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.04425, allocations: 0 / 0.9323 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.04509, allocations: 0.6855 MB / 0.933 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.04526, allocations: 95.52 kB / 0.9331 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.04531, allocations: 15.94 kB / 0.9331 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.04552, allocations: 16 kB / 0.9331 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.04561, allocations: 39.86 kB / 0.9332 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.04564, allocations: 16.03 kB / 0.9332 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002339/0.04587, allocations: 330.6 kB / 0.9335 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.04587, allocations: 0 / 0.9335 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007413/0.04661, allocations: 220 kB / 0.9337 GB, free: 10.68 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.0001452/0.04676, allocations: 111.2 kB / 0.9338 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.0479, allocations: 1.15 MB / 0.9349 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.04791, allocations: 0 / 0.9349 GB, free: 9.344 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.04863, allocations: 0.9467 MB / 0.9359 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.0494, allocations: 193.1 kB / 0.936 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.05135, allocations: 1.259 MB / 0.9373 GB, free: 6.816 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.05154, allocations: 219.3 kB / 0.9375 GB, free: 6.582 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002409/0.05178, allocations: 69.5 kB / 0.9375 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.05215, allocations: 250 kB / 0.9378 GB, free: 6.266 MB / 0.9011 GB Notification: Performance of SimCode: time 7.61e-07/0.05215, allocations: 0 / 0.9378 GB, free: 6.266 MB / 0.9011 GB Notification: Performance of Templates: time 0.01678/0.06893, allocations: 12.07 MB / 0.9496 GB, free: 10.42 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.507405693177134]