Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001035/0.001035, allocations: 83.59 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.001454/0.001454, allocations: 165.3 kB / 23.82 MB, free: 0.7461 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.9535/0.9535, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.875/1.875, allocations: 377.9 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.051e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.007694/0.007735, allocations: 6.834 MB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004391/0.01213, allocations: 2.448 MB / 0.8206 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.0128, allocations: 72.03 kB / 0.8207 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008026/0.01361, allocations: 333.9 kB / 0.821 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.01505, allocations: 0.8584 MB / 0.8218 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009345/0.01598, allocations: 0.5656 MB / 0.8224 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002439/0.01842, allocations: 2.209 MB / 0.8245 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.01958, allocations: 1.018 MB / 0.8255 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.02094, allocations: 1.213 MB / 0.8267 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.02195, allocations: 0.8721 MB / 0.8276 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.02212, allocations: 116 kB / 0.8277 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.02256, allocations: 243.7 kB / 0.8279 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.02293, allocations: 0.5608 MB / 0.8285 GB, free: 364 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006077/0.02354, allocations: 0.5344 MB / 0.829 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.02546, allocations: 1.285 MB / 0.8302 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.02546, allocations: 0 / 0.8302 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.613e-06/0.02546, allocations: 0.5 kB / 0.8302 GB, free: 14.53 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.301e-05/0.02552, allocations: 0 / 0.8302 GB, free: 14.53 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002079/0.02759, allocations: 1.819 MB / 0.832 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.02764, allocations: 8.031 kB / 0.832 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.02992, allocations: 0.912 MB / 0.8329 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.0311, allocations: 0.9503 MB / 0.8338 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.03115, allocations: 98.89 kB / 0.8339 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.03129, allocations: 136.2 kB / 0.8341 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.03306, allocations: 1.842 MB / 0.8359 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.0331, allocations: 12.06 kB / 0.8359 GB, free: 8.344 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.0332, allocations: 56.34 kB / 0.8359 GB, free: 8.289 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.03334, allocations: 170.2 kB / 0.8361 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.03489, allocations: 0.8329 MB / 0.8369 GB, free: 7.277 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007411/0.0423, allocations: 11.46 MB / 0.8481 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.04457, allocations: 1.578 MB / 0.8496 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.04489, allocations: 210.6 kB / 0.8498 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.045, allocations: 36.92 kB / 0.8499 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.04504, allocations: 50.39 kB / 0.8499 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=103): time 3.727e-06/0.04504, allocations: 0 / 0.8499 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.003126/0.04817, allocations: 1.766 MB / 0.8517 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.04821, allocations: 68.34 kB / 0.8517 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006764/0.04888, allocations: 0.8597 MB / 0.8526 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.04893, allocations: 45.7 kB / 0.8526 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.0493, allocations: 0.7989 MB / 0.8534 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.04952, allocations: 404.6 kB / 0.8538 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.04977, allocations: 285 kB / 0.854 GB, free: 5.258 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.04987, allocations: 484.7 kB / 0.8545 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.05024, allocations: 275.8 kB / 0.8548 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.05091, allocations: 0.9659 MB / 0.8557 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.05208, allocations: 1.341 MB / 0.857 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.05209, allocations: 4 kB / 0.857 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001835/0.05393, allocations: 1.467 MB / 0.8585 GB, free: 96 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.05395, allocations: 12 kB / 0.8585 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.05397, allocations: 16 kB / 0.8585 GB, free: 68 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.05448, allocations: 233.5 kB / 0.8587 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.05518, allocations: 367.4 kB / 0.8591 GB, free: 15.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006315/0.0615, allocations: 14 MB / 0.8727 GB, free: 480 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008167/0.06231, allocations: 123.8 kB / 0.8728 GB, free: 356 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.0624, allocations: 76.23 kB / 0.8729 GB, free: 280 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003982/0.06279, allocations: 263.9 kB / 0.8732 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.06299, allocations: 163.2 kB / 0.8733 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.06423, allocations: 0.9908 MB / 0.8743 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.06424, allocations: 12 kB / 0.8743 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.06424, allocations: 0 / 0.8743 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.06425, allocations: 11.97 kB / 0.8743 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.06675, allocations: 2.123 MB / 0.8764 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.06676, allocations: 15.92 kB / 0.8764 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.06722, allocations: 223.6 kB / 0.8766 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.06763, allocations: 209.8 kB / 0.8768 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.06768, allocations: 28 kB / 0.8768 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005625/0.07331, allocations: 13.99 MB / 0.8905 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.07331, allocations: 8 kB / 0.8905 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.07478, allocations: 1.259 MB / 0.8917 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.07514, allocations: 223 kB / 0.892 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.07538, allocations: 23.98 kB / 0.892 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.07576, allocations: 91.88 kB / 0.8921 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.07591, allocations: 112.6 kB / 0.8922 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.07595, allocations: 32 kB / 0.8922 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000418/0.07637, allocations: 0.5178 MB / 0.8927 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/0.07637, allocations: 0 / 0.8927 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009838/0.07736, allocations: 392 kB / 0.8931 GB, free: 10.23 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002034/0.07756, allocations: 143 kB / 0.8932 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00192/0.07948, allocations: 2.244 MB / 0.8954 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.07948, allocations: 0 / 0.8954 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.08059, allocations: 1.746 MB / 0.8971 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.08155, allocations: 359.2 kB / 0.8975 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.08512, allocations: 2.523 MB / 0.8999 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.08541, allocations: 369.2 kB / 0.9003 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.08597, allocations: 287 kB / 0.9005 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.08617, allocations: 92.48 kB / 0.9006 GB, free: 2.039 MB / 0.8542 GB Notification: Performance of SimCode: time 1.953e-06/0.08617, allocations: 3.938 kB / 0.9006 GB, free: 2.035 MB / 0.8542 GB Notification: Performance of Templates: time 0.02369/0.1099, allocations: 18.3 MB / 0.9185 GB, free: 92 kB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.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.536899255122989]