Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0009766/0.0009766, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009209/0.0009209, allocations: 161 kB / 23.82 MB, free: 0.75 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.903/0.903, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.795/1.795, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.617e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006434/0.00645, allocations: 7.823 MB / 0.7947 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00649/0.01294, allocations: 5.884 MB / 0.8005 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006952/0.01364, allocations: 91.19 kB / 0.8006 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008297/0.01446, allocations: 373.1 kB / 0.8009 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.01663, allocations: 1.417 MB / 0.8023 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008203/0.01745, allocations: 0.5559 MB / 0.8028 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.01911, allocations: 2.375 MB / 0.8052 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009658/0.02007, allocations: 1.152 MB / 0.8063 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.02125, allocations: 1.524 MB / 0.8078 GB, free: 7.281 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007201/0.02197, allocations: 0.8608 MB / 0.8086 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.02211, allocations: 136 kB / 0.8088 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.02248, allocations: 295.6 kB / 0.809 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.02283, allocations: 0.6075 MB / 0.8096 GB, free: 5.387 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004295/0.02326, allocations: 0.6 MB / 0.8102 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.02433, allocations: 1.413 MB / 0.8116 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.02433, allocations: 0 / 0.8116 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.02433, allocations: 0 / 0.8116 GB, free: 3.367 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.02435, allocations: 3.938 kB / 0.8116 GB, free: 3.363 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001749/0.02609, allocations: 2.014 MB / 0.8136 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.02613, allocations: 8.031 kB / 0.8136 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/0.03049, allocations: 1.731 MB / 0.8153 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.0317, allocations: 1.159 MB / 0.8164 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.03174, allocations: 94.62 kB / 0.8165 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.03189, allocations: 120.4 kB / 0.8166 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.034, allocations: 1.857 MB / 0.8184 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.03404, allocations: 19.81 kB / 0.8184 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.03414, allocations: 51.98 kB / 0.8185 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.03434, allocations: 134.1 kB / 0.8186 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.03545, allocations: 0.7544 MB / 0.8193 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005821/0.04127, allocations: 7.95 MB / 0.8271 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.04247, allocations: 0.6278 MB / 0.8277 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.04281, allocations: 229.1 kB / 0.8279 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.04285, allocations: 8.5 kB / 0.8279 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.04288, allocations: 49.81 kB / 0.828 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/0.04288, allocations: 0 / 0.828 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81): time 0.005401/0.04828, allocations: 3.088 MB / 0.831 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.04831, allocations: 64.06 kB / 0.8311 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007105/0.04902, allocations: 0.9398 MB / 0.832 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.04909, allocations: 37.7 kB / 0.832 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003912/0.04948, allocations: 0.8117 MB / 0.8328 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.04966, allocations: 301.4 kB / 0.8331 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.04992, allocations: 196.2 kB / 0.8333 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.05005, allocations: 0.5199 MB / 0.8338 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.05051, allocations: 317.8 kB / 0.8341 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.05111, allocations: 0.6299 MB / 0.8347 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.05218, allocations: 0.9652 MB / 0.8357 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.05218, allocations: 4 kB / 0.8357 GB, free: 9.773 MB / 0.7917 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002413/0.0546, allocations: 1.594 MB / 0.8372 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.05461, allocations: 11.94 kB / 0.8372 GB, free: 8.125 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.05462, allocations: 4 kB / 0.8372 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.05653, allocations: 0.7315 MB / 0.838 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.05723, allocations: 311.4 kB / 0.8382 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008441/0.06567, allocations: 15.66 MB / 0.8535 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007684/0.06644, allocations: 183.7 kB / 0.8537 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/0.06652, allocations: 55.95 kB / 0.8538 GB, free: 6.172 MB / 0.8073 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.00035/0.06687, allocations: 216.3 kB / 0.854 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.06707, allocations: 159.2 kB / 0.8541 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.06939, allocations: 1.435 MB / 0.8555 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.0694, allocations: 8 kB / 0.8555 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.06941, allocations: 11.94 kB / 0.8555 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.06941, allocations: 3.984 kB / 0.8556 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.073, allocations: 2.641 MB / 0.8581 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.07301, allocations: 4 kB / 0.8581 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.07355, allocations: 247.8 kB / 0.8584 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/0.07526, allocations: 0.6962 MB / 0.8591 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.07533, allocations: 35.91 kB / 0.8591 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008026/0.08335, allocations: 15.63 MB / 0.8743 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.08336, allocations: 8.125 kB / 0.8744 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.08543, allocations: 1.485 MB / 0.8758 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.08581, allocations: 291 kB / 0.8761 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-05/0.08591, allocations: 16 kB / 0.8761 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006286/0.08653, allocations: 183.6 kB / 0.8763 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.08669, allocations: 84.58 kB / 0.8764 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.08675, allocations: 35.97 kB / 0.8764 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004905/0.08724, allocations: 0.5759 MB / 0.877 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.08724, allocations: 0 / 0.877 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001068/0.08831, allocations: 440 kB / 0.8774 GB, free: 12.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002151/0.08852, allocations: 135 kB / 0.8775 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.09088, allocations: 2.507 MB / 0.8799 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.09088, allocations: 0 / 0.8799 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.09247, allocations: 2.038 MB / 0.8819 GB, free: 7.723 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.09365, allocations: 0.4995 MB / 0.8824 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/0.09726, allocations: 2.828 MB / 0.8852 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.09755, allocations: 395.3 kB / 0.8856 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0006391/0.09819, allocations: 302.6 kB / 0.8859 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.09844, allocations: 100.4 kB / 0.8859 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/0.09844, allocations: 0 / 0.8859 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.03225/0.1307, allocations: 31.83 MB / 0.917 GB, free: 4.32 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.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.5788709772750735]