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.001249/0.001249, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001747/0.001747, allocations: 181 kB / 23.36 MB, free: 1.133 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.9669/0.9669, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.452/2.452, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.412e-06/1.412e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.501e-05, allocations: 8.703 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.003957/0.003972, allocations: 4.119 MB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002216/0.006188, allocations: 1.555 MB / 0.8442 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.006424, allocations: 39.62 kB / 0.8442 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.007028, allocations: 194.6 kB / 0.8444 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.00754, allocations: 409.4 kB / 0.8448 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.007986, allocations: 351.3 kB / 0.8451 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008092/0.008795, allocations: 1.135 MB / 0.8462 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005387/0.009334, allocations: 0.5586 MB / 0.8468 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005653/0.009899, allocations: 0.6118 MB / 0.8474 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.01033, allocations: 430.8 kB / 0.8478 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.01039, allocations: 56 kB / 0.8478 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.01059, allocations: 139.8 kB / 0.848 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.01077, allocations: 311.1 kB / 0.8483 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.01094, allocations: 267.3 kB / 0.8485 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.01144, allocations: 0.6617 MB / 0.8492 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.01144, allocations: 0 / 0.8492 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.01144, allocations: 0 / 0.8492 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.01145, allocations: 4 kB / 0.8492 GB, free: 3.305 MB / 0.8073 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.000834/0.01228, allocations: 0.9036 MB / 0.8501 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.01232, allocations: 12.62 kB / 0.8501 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.01311, allocations: 268.1 kB / 0.8503 GB, free: 2.098 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.01361, allocations: 0.499 MB / 0.8508 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.01364, allocations: 53.61 kB / 0.8509 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.01371, allocations: 68.34 kB / 0.8509 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.01441, allocations: 0.7738 MB / 0.8517 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.01444, allocations: 16.06 kB / 0.8517 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.01447, allocations: 28.36 kB / 0.8517 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.575e-05/0.01453, allocations: 69.22 kB / 0.8518 GB, free: 436 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.01479, allocations: 256.6 kB / 0.852 GB, free: 180 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.01694, allocations: 3.872 MB / 0.8558 GB, free: 12.16 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.01722, allocations: 249.2 kB / 0.8561 GB, free: 11.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.01751, allocations: 224.7 kB / 0.8563 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.01753, allocations: 4 kB / 0.8563 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.01755, allocations: 38.56 kB / 0.8563 GB, free: 11.63 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 1.553e-06/0.01756, allocations: 0 / 0.8563 GB, free: 11.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.001514/0.01907, allocations: 0.8667 MB / 0.8572 GB, free: 10.74 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.01909, allocations: 59.41 kB / 0.8572 GB, free: 10.67 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.01931, allocations: 415 kB / 0.8576 GB, free: 10.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.01934, allocations: 33.7 kB / 0.8576 GB, free: 10.21 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.01947, allocations: 360.9 kB / 0.858 GB, free: 9.859 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.01954, allocations: 158.6 kB / 0.8581 GB, free: 9.703 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.01971, allocations: 102.2 kB / 0.8582 GB, free: 9.594 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.0198, allocations: 370.6 kB / 0.8586 GB, free: 9.223 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.01988, allocations: 65.28 kB / 0.8586 GB, free: 9.16 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.02004, allocations: 277 kB / 0.8589 GB, free: 8.793 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.02036, allocations: 421.4 kB / 0.8593 GB, free: 8.285 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02036, allocations: 4 kB / 0.8593 GB, free: 8.281 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006369/0.021, allocations: 0.5661 MB / 0.8599 GB, free: 7.691 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.02101, allocations: 8 kB / 0.8599 GB, free: 7.684 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.02102, allocations: 11.98 kB / 0.8599 GB, free: 7.672 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.02153, allocations: 238.5 kB / 0.8601 GB, free: 7.422 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.02169, allocations: 95.83 kB / 0.8602 GB, free: 7.328 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.02476, allocations: 5.424 MB / 0.8655 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.02491, allocations: 16 kB / 0.8655 GB, free: 1.504 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.02493, allocations: 24 kB / 0.8655 GB, free: 1.48 MB / 0.823 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.0001217/0.02505, allocations: 148.5 kB / 0.8657 GB, free: 1.324 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.02511, allocations: 51.94 kB / 0.8657 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005578/0.02567, allocations: 473.1 kB / 0.8662 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02567, allocations: 8 kB / 0.8662 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.02568, allocations: 4 kB / 0.8662 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02568, allocations: 0 / 0.8662 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000936/0.02661, allocations: 0.8799 MB / 0.8671 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.02662, allocations: 0 / 0.8671 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.02669, allocations: 35.92 kB / 0.8671 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.02715, allocations: 238.7 kB / 0.8673 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.02717, allocations: 8 kB / 0.8673 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.03004, allocations: 5.415 MB / 0.8726 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.03004, allocations: 0 / 0.8726 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.03061, allocations: 0.5909 MB / 0.8732 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.0307, allocations: 83.61 kB / 0.8733 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.03074, allocations: 15.94 kB / 0.8733 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.03085, allocations: 8 kB / 0.8733 GB, free: 8.988 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.03092, allocations: 43.86 kB / 0.8733 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.03094, allocations: 12 kB / 0.8733 GB, free: 8.934 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001038/0.03104, allocations: 164.4 kB / 0.8735 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-08/0.03104, allocations: 0 / 0.8735 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004102/0.03145, allocations: 196 kB / 0.8737 GB, free: 8.582 MB / 0.8386 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 8.568e-05/0.03154, allocations: 96.36 kB / 0.8738 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007113/0.03225, allocations: 0.8557 MB / 0.8746 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.03226, allocations: 8.438 kB / 0.8746 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.03274, allocations: 0.6997 MB / 0.8753 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.0332, allocations: 204 kB / 0.8755 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.03441, allocations: 1.161 MB / 0.8766 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.03454, allocations: 214.1 kB / 0.8768 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.03467, allocations: 61.05 kB / 0.8769 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.03488, allocations: 165.2 kB / 0.8771 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/0.03488, allocations: 0 / 0.8771 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of Templates: time 0.01214/0.04702, allocations: 11.07 MB / 0.8879 GB, free: 10.07 MB / 0.8542 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 -s gbode -gbm=radauIIA3 -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.355731840245426]