Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0009319/0.0009319, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00102/0.00102, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9254/0.9254, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.279/2.279, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.733e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006237/0.006255, allocations: 2.615 MB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00499/0.01124, allocations: 1.581 MB / 0.8427 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.642e-05/0.01134, allocations: 7.938 kB / 0.8427 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.01178, allocations: 135.3 kB / 0.8428 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.01206, allocations: 175 kB / 0.843 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.01243, allocations: 251 kB / 0.8432 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.01273, allocations: 326.9 kB / 0.8435 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.013, allocations: 163 kB / 0.8437 GB, free: 9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.0132, allocations: 183.6 kB / 0.8438 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.01342, allocations: 147.6 kB / 0.844 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.01345, allocations: 20 kB / 0.844 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.01682, allocations: 303.3 kB / 0.8443 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.01691, allocations: 95.73 kB / 0.8444 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.01699, allocations: 83.83 kB / 0.8445 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004271/0.01742, allocations: 390.7 kB / 0.8448 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.01742, allocations: 0 / 0.8448 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.72e-07/0.01742, allocations: 0 / 0.8448 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.01742, allocations: 0 / 0.8448 GB, free: 7.801 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005141/0.01794, allocations: 459.5 kB / 0.8453 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.01796, allocations: 8.031 kB / 0.8453 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/0.01855, allocations: 148.7 kB / 0.8454 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.01876, allocations: 197.8 kB / 0.8456 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.01878, allocations: 12.88 kB / 0.8456 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.01881, allocations: 20.36 kB / 0.8456 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.01908, allocations: 271.9 kB / 0.8459 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.01909, allocations: 192 / 0.8459 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01911, allocations: 12.38 kB / 0.8459 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.01914, allocations: 24.42 kB / 0.8459 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.01929, allocations: 95.31 kB / 0.846 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.02336, allocations: 1.011 MB / 0.847 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.02369, allocations: 186.6 kB / 0.8472 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.02375, allocations: 33.72 kB / 0.8472 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.02379, allocations: 11.98 kB / 0.8472 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.02381, allocations: 42.56 kB / 0.8473 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.02381, allocations: 0 / 0.8473 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0006157/0.02443, allocations: 260.9 kB / 0.8475 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.02445, allocations: 81.11 kB / 0.8476 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.02457, allocations: 187.8 kB / 0.8478 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.02459, allocations: 29.7 kB / 0.8478 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.02465, allocations: 168.1 kB / 0.848 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.02469, allocations: 63.47 kB / 0.848 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.02476, allocations: 49.64 kB / 0.8481 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.02483, allocations: 326.8 kB / 0.8484 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.02487, allocations: 28.02 kB / 0.8484 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.02495, allocations: 101.3 kB / 0.8485 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.0251, allocations: 149.8 kB / 0.8487 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.0251, allocations: 0 / 0.8487 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0033/0.0284, allocations: 202 kB / 0.8489 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.02841, allocations: 8 kB / 0.8489 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.02842, allocations: 4 kB / 0.8489 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002499/0.02867, allocations: 79.61 kB / 0.8489 GB, free: 3.266 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.0288, allocations: 43.92 kB / 0.849 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008288/0.02963, allocations: 1.732 MB / 0.8507 GB, free: 1.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.02972, allocations: 23.78 kB / 0.8507 GB, free: 1.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.02974, allocations: 8 kB / 0.8507 GB, free: 1.332 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/0.02982, allocations: 132.6 kB / 0.8508 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.02987, allocations: 19.86 kB / 0.8509 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.03013, allocations: 164.5 kB / 0.851 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.03014, allocations: 4 kB / 0.851 GB, free: 1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.03014, allocations: 3.938 kB / 0.851 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.03014, allocations: 0 / 0.851 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.0307, allocations: 0.5194 MB / 0.8515 GB, free: 432 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.0307, allocations: 8.156 kB / 0.8515 GB, free: 424 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.03077, allocations: 23.92 kB / 0.8516 GB, free: 400 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/0.03094, allocations: 71.27 kB / 0.8516 GB, free: 320 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.03095, allocations: 7.984 kB / 0.8516 GB, free: 312 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007691/0.03172, allocations: 1.743 MB / 0.8533 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.03172, allocations: 0 / 0.8533 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.03201, allocations: 451 kB / 0.8538 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.03207, allocations: 35.81 kB / 0.8538 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.03209, allocations: 7.984 kB / 0.8538 GB, free: 13.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.03222, allocations: 12.12 kB / 0.8538 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.03224, allocations: 19.86 kB / 0.8538 GB, free: 13.87 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.03226, allocations: 7.984 kB / 0.8538 GB, free: 13.86 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.03231, allocations: 57.81 kB / 0.8539 GB, free: 13.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.03231, allocations: 0 / 0.8539 GB, free: 13.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004638/0.03277, allocations: 79.83 kB / 0.854 GB, free: 13.73 MB / 0.823 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.0329, allocations: 100.3 kB / 0.8541 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.03319, allocations: 247.1 kB / 0.8543 GB, free: 13.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.03319, allocations: 4 kB / 0.8543 GB, free: 13.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.03334, allocations: 167.3 kB / 0.8545 GB, free: 13.18 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.03368, allocations: 39.38 kB / 0.8545 GB, free: 13.14 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007787/0.03446, allocations: 491.7 kB / 0.855 GB, free: 12.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.022e-05/0.03453, allocations: 96.3 kB / 0.8551 GB, free: 12.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 7.503e-05/0.0346, allocations: 21.95 kB / 0.8551 GB, free: 12.48 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.0347, allocations: 83.36 kB / 0.8552 GB, free: 12.39 MB / 0.823 GB Notification: Performance of SimCode: time 8.72e-07/0.0347, allocations: 0 / 0.8552 GB, free: 12.39 MB / 0.823 GB Notification: Performance of Templates: time 0.005308/0.04001, allocations: 3.168 MB / 0.8583 GB, free: 9.277 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.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.057343520689756]