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.001791/0.001791, allocations: 88.72 kB / 19.44 MB, free: 352 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.002334/0.002334, allocations: 157.7 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.505/1.505, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.235/3.235, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.942e-05, allocations: 6.906 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01004/0.01007, allocations: 6.399 MB / 0.8838 GB, free: 96 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006024/0.0161, allocations: 2.987 MB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/0.01676, allocations: 35.69 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.01971, allocations: 0.9544 MB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.02118, allocations: 0.528 MB / 0.8882 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.0224, allocations: 438.8 kB / 0.8887 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.02426, allocations: 1.259 MB / 0.8899 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.02533, allocations: 0.5295 MB / 0.8904 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.02661, allocations: 0.6624 MB / 0.8911 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000912/0.02752, allocations: 478.7 kB / 0.8915 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.02768, allocations: 72 kB / 0.8916 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007664/0.02844, allocations: 347.1 kB / 0.8919 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.02885, allocations: 331 kB / 0.8922 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005384/0.02938, allocations: 307.3 kB / 0.8925 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001855/0.03124, allocations: 1.254 MB / 0.8937 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.03124, allocations: 0 / 0.8937 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.603e-06/0.03125, allocations: 0 / 0.8937 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.686e-05/0.03128, allocations: 0 / 0.8937 GB, free: 5.934 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.002376/0.03366, allocations: 1.1 MB / 0.8948 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.0337, allocations: 8.031 kB / 0.8948 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.03552, allocations: 351.7 kB / 0.8952 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.03661, allocations: 0.5497 MB / 0.8957 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.03667, allocations: 49.67 kB / 0.8957 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.0368, allocations: 68.36 kB / 0.8958 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.03882, allocations: 1.332 MB / 0.8971 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.03885, allocations: 8.125 kB / 0.8971 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/0.03894, allocations: 32.36 kB / 0.8972 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.03912, allocations: 89.19 kB / 0.8972 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.04049, allocations: 0.7504 MB / 0.898 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005842/0.04633, allocations: 4.527 MB / 0.9024 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.04741, allocations: 0.5049 MB / 0.9029 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.04789, allocations: 290.1 kB / 0.9032 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.04793, allocations: 8.5 kB / 0.9032 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.04797, allocations: 47.06 kB / 0.9032 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.04797, allocations: 0 / 0.9032 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.004173/0.05214, allocations: 1.693 MB / 0.9049 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.05219, allocations: 55.91 kB / 0.9049 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.05287, allocations: 0.5104 MB / 0.9054 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.05292, allocations: 37.7 kB / 0.9055 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.0533, allocations: 427.9 kB / 0.9059 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.05347, allocations: 178.4 kB / 0.906 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/0.0537, allocations: 122.6 kB / 0.9061 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.05392, allocations: 370.8 kB / 0.9065 GB, free: 8.391 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/0.0544, allocations: 273.8 kB / 0.9068 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/0.05507, allocations: 489 kB / 0.9072 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.05638, allocations: 0.8125 MB / 0.908 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.05638, allocations: 12 kB / 0.908 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002134/0.05852, allocations: 1.101 MB / 0.9091 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.05854, allocations: 8 kB / 0.9091 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.05856, allocations: 11.98 kB / 0.9091 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/0.06017, allocations: 367.8 kB / 0.9095 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.06067, allocations: 127.7 kB / 0.9096 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00808/0.06875, allocations: 6.618 MB / 0.9161 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006728/0.06943, allocations: 39.95 kB / 0.9161 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/0.06952, allocations: 31.94 kB / 0.9161 GB, free: 13.89 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.0005127/0.07003, allocations: 249.5 kB / 0.9164 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.07026, allocations: 83.62 kB / 0.9165 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.07214, allocations: 0.8778 MB / 0.9173 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.07215, allocations: 11.94 kB / 0.9173 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.505e-06/0.07216, allocations: 0 / 0.9173 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.07216, allocations: 7.984 kB / 0.9173 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.0751, allocations: 1.526 MB / 0.9188 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.0751, allocations: 3.938 kB / 0.9188 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.07539, allocations: 60.08 kB / 0.9189 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.0769, allocations: 359.2 kB / 0.9192 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.07694, allocations: 12 kB / 0.9192 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007775/0.08472, allocations: 6.603 MB / 0.9257 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.08472, allocations: 4 kB / 0.9257 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.08655, allocations: 0.9894 MB / 0.9267 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.08688, allocations: 111.6 kB / 0.9268 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.08698, allocations: 12 kB / 0.9268 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.08736, allocations: 27.97 kB / 0.9268 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.08748, allocations: 47.86 kB / 0.9268 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.08752, allocations: 12 kB / 0.9269 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000465/0.08798, allocations: 342.8 kB / 0.9272 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.08798, allocations: 0 / 0.9272 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000889/0.08887, allocations: 220 kB / 0.9274 GB, free: 1.797 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.0001751/0.08905, allocations: 119.1 kB / 0.9275 GB, free: 1.672 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.09138, allocations: 1.239 MB / 0.9287 GB, free: 396 kB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.09139, allocations: 0 / 0.9287 GB, free: 396 kB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.09281, allocations: 0.8736 MB / 0.9296 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.09383, allocations: 209.7 kB / 0.9298 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.0964, allocations: 1.35 MB / 0.9311 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.09694, allocations: 415.3 kB / 0.9315 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003856/0.09733, allocations: 113.4 kB / 0.9316 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.09746, allocations: 44.5 kB / 0.9316 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of SimCode: time 5.81e-07/0.09746, allocations: 0 / 0.9316 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of Templates: time 0.02171/0.1192, allocations: 11.32 MB / 0.9427 GB, free: 2.184 MB / 0.9011 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] 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.72636249102652]