Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001347/0.001347, allocations: 92.22 kB / 19.65 MB, free: 276 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.00158/0.00158, allocations: 169 kB / 23.02 MB, free: 1.551 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.9971/0.9971, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.021/2.021, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 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_L,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.515e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00415/0.004175, allocations: 4.132 MB / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.00621, allocations: 1.541 MB / 0.8837 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.006442, allocations: 39.62 kB / 0.8837 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.006985, allocations: 193.7 kB / 0.8839 GB, free: 432 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.007487, allocations: 407.5 kB / 0.8843 GB, free: 24 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.007958, allocations: 359.2 kB / 0.8847 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008523/0.008811, allocations: 1.139 MB / 0.8858 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005492/0.00936, allocations: 0.5061 MB / 0.8863 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.009882, allocations: 0.6079 MB / 0.8869 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003998/0.01028, allocations: 430.8 kB / 0.8873 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.01035, allocations: 56 kB / 0.8873 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.01054, allocations: 139.8 kB / 0.8875 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.01073, allocations: 315.1 kB / 0.8878 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.01092, allocations: 275.3 kB / 0.888 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005691/0.01149, allocations: 0.6695 MB / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01149, allocations: 0 / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01149, allocations: 0 / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.0115, allocations: 0 / 0.8887 GB, free: 11.55 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009556/0.01246, allocations: 1.056 MB / 0.8897 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.01249, allocations: 8.031 kB / 0.8897 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008875/0.01338, allocations: 335.7 kB / 0.89 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005781/0.01396, allocations: 0.5381 MB / 0.8906 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.01399, allocations: 53.61 kB / 0.8906 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/0.01406, allocations: 64.36 kB / 0.8907 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.01482, allocations: 0.8976 MB / 0.8916 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.01485, allocations: 12.12 kB / 0.8916 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.01489, allocations: 28.36 kB / 0.8916 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.01495, allocations: 73.2 kB / 0.8917 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.01546, allocations: 343.2 kB / 0.892 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.01823, allocations: 5.631 MB / 0.8975 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.01863, allocations: 254.7 kB / 0.8977 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.019, allocations: 251.5 kB / 0.898 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.01904, allocations: 8 kB / 0.898 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.01906, allocations: 45.33 kB / 0.898 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 2.425e-06/0.01906, allocations: 0 / 0.898 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.002072/0.02113, allocations: 1.148 MB / 0.8991 GB, free: 352 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.02116, allocations: 55.41 kB / 0.8992 GB, free: 284 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.02148, allocations: 470.4 kB / 0.8996 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.0215, allocations: 33.7 kB / 0.8997 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.02168, allocations: 446.7 kB / 0.9001 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.02176, allocations: 162.6 kB / 0.9003 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.02187, allocations: 115.9 kB / 0.9004 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.022, allocations: 0.5313 MB / 0.9009 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.02214, allocations: 105.2 kB / 0.901 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.02241, allocations: 412.7 kB / 0.9014 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.02285, allocations: 0.5455 MB / 0.9019 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02285, allocations: 4 kB / 0.9019 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008728/0.02373, allocations: 0.7213 MB / 0.9026 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.02375, allocations: 8.875 kB / 0.9026 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.02375, allocations: 8 kB / 0.9026 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.02437, allocations: 258.5 kB / 0.9029 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.02455, allocations: 103.8 kB / 0.903 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.02846, allocations: 7.72 MB / 0.9105 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.02867, allocations: 36.16 kB / 0.9106 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.0287, allocations: 28 kB / 0.9106 GB, free: 3.77 MB / 0.8698 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.02886, allocations: 200.3 kB / 0.9108 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.02893, allocations: 71.62 kB / 0.9108 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.02968, allocations: 0.5633 MB / 0.9114 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02969, allocations: 4 kB / 0.9114 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.02969, allocations: 4 kB / 0.9114 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.0297, allocations: 3.938 kB / 0.9114 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.03102, allocations: 1.143 MB / 0.9125 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.03103, allocations: 0 / 0.9125 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.03111, allocations: 44.16 kB / 0.9126 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005233/0.03164, allocations: 250.7 kB / 0.9128 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.03166, allocations: 8 kB / 0.9128 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/0.03533, allocations: 7.706 MB / 0.9203 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.03533, allocations: 0 / 0.9203 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/0.03611, allocations: 0.7461 MB / 0.9211 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.03624, allocations: 95.56 kB / 0.9212 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.03627, allocations: 12 kB / 0.9212 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.0364, allocations: 23.97 kB / 0.9212 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.03647, allocations: 43.86 kB / 0.9212 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.03649, allocations: 12 kB / 0.9212 GB, free: 8.168 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001845/0.03668, allocations: 290.8 kB / 0.9215 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.03668, allocations: 0 / 0.9215 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005274/0.0372, allocations: 196 kB / 0.9217 GB, free: 7.695 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001236/0.03733, allocations: 119.1 kB / 0.9218 GB, free: 7.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009915/0.03832, allocations: 1.137 MB / 0.9229 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03832, allocations: 0 / 0.9229 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.03892, allocations: 0.9564 MB / 0.9239 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.0395, allocations: 203.4 kB / 0.9241 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.04101, allocations: 1.168 MB / 0.9252 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.04116, allocations: 202.2 kB / 0.9254 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001698/0.04133, allocations: 85 kB / 0.9255 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.052e-05/0.04139, allocations: 40.48 kB / 0.9255 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of SimCode: time 8.31e-07/0.04139, allocations: 0 / 0.9255 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of Templates: time 0.01248/0.05387, allocations: 10.52 MB / 0.9358 GB, free: 9.238 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.606959844939411]