Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.000972/0.000972, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001519/0.001519, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9205/0.9205, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.751/1.751, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.694e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004146/0.004163, allocations: 4.332 MB / 0.7913 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002882/0.007045, allocations: 2.421 MB / 0.7937 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.007262, allocations: 27.75 kB / 0.7937 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007498/0.008012, allocations: 381.6 kB / 0.7941 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000759/0.008771, allocations: 396.1 kB / 0.7945 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.009326, allocations: 336.5 kB / 0.7948 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009331/0.01026, allocations: 0.6983 MB / 0.7955 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.01061, allocations: 227 kB / 0.7957 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004547/0.01107, allocations: 371 kB / 0.796 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.0114, allocations: 240.9 kB / 0.7963 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.01144, allocations: 32 kB / 0.7963 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005278/0.01197, allocations: 394.8 kB / 0.7967 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.0121, allocations: 148.3 kB / 0.7968 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.01223, allocations: 167.5 kB / 0.797 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.01287, allocations: 0.5733 MB / 0.7975 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.01287, allocations: 0 / 0.7975 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.01287, allocations: 3.938 kB / 0.7975 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.01288, allocations: 0 / 0.7975 GB, free: 2.137 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008049/0.01368, allocations: 0.8255 MB / 0.7983 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.01372, allocations: 8.031 kB / 0.7983 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009352/0.01466, allocations: 260.1 kB / 0.7986 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.01509, allocations: 397.9 kB / 0.799 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.01511, allocations: 29.36 kB / 0.799 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.01516, allocations: 41.06 kB / 0.799 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.01569, allocations: 0.6144 MB / 0.7996 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.0157, allocations: 4.844 kB / 0.7996 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.01573, allocations: 16.36 kB / 0.7997 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.01579, allocations: 64.92 kB / 0.7997 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.01612, allocations: 247.3 kB / 0.8 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.01848, allocations: 4.254 MB / 0.8041 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008741/0.01936, allocations: 0.5214 MB / 0.8046 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.01946, allocations: 86.97 kB / 0.8047 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.01948, allocations: 5.062 kB / 0.8047 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.01951, allocations: 41.39 kB / 0.8047 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.01951, allocations: 0 / 0.8047 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001076/0.02059, allocations: 0.6926 MB / 0.8054 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.02064, allocations: 106.8 kB / 0.8055 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.02091, allocations: 422.5 kB / 0.8059 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.02093, allocations: 30.7 kB / 0.806 GB, free: 9.035 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.02107, allocations: 338.8 kB / 0.8063 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.02115, allocations: 123 kB / 0.8064 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.02125, allocations: 109 kB / 0.8065 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.02142, allocations: 0.5157 MB / 0.807 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.02154, allocations: 81.27 kB / 0.8071 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.02183, allocations: 369.7 kB / 0.8074 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.02231, allocations: 0.4935 MB / 0.8079 GB, free: 6.758 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.02232, allocations: 4 kB / 0.8079 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006433/0.02296, allocations: 0.4958 MB / 0.8084 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.02298, allocations: 8 kB / 0.8084 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.02299, allocations: 8 kB / 0.8084 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.02325, allocations: 87.75 kB / 0.8085 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.02346, allocations: 111.8 kB / 0.8086 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/0.02603, allocations: 5.247 MB / 0.8137 GB, free: 408 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.02619, allocations: 32 kB / 0.8138 GB, free: 376 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.02621, allocations: 24 kB / 0.8138 GB, free: 352 kB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000132/0.02635, allocations: 200.3 kB / 0.814 GB, free: 140 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.02642, allocations: 55.72 kB / 0.814 GB, free: 84 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004075/0.02683, allocations: 335.6 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02683, allocations: 7.984 kB / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.02683, allocations: 0 / 0.8144 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.02684, allocations: 4 kB / 0.8144 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.02777, allocations: 1.083 MB / 0.8154 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02777, allocations: 0 / 0.8154 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.02789, allocations: 63.89 kB / 0.8155 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001891/0.02808, allocations: 79.28 kB / 0.8156 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.0281, allocations: 8 kB / 0.8156 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.03036, allocations: 5.244 MB / 0.8207 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.03036, allocations: 4 kB / 0.8207 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.03084, allocations: 0.7744 MB / 0.8214 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.32e-05/0.03092, allocations: 75.64 kB / 0.8215 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.03095, allocations: 15.92 kB / 0.8215 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.0311, allocations: 19.98 kB / 0.8216 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.03115, allocations: 39.81 kB / 0.8216 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.03117, allocations: 16 kB / 0.8216 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001595/0.03133, allocations: 267.1 kB / 0.8219 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.03133, allocations: 4 kB / 0.8219 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000418/0.03174, allocations: 124 kB / 0.822 GB, free: 7.375 MB / 0.7761 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001167/0.03186, allocations: 115.1 kB / 0.8221 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009313/0.03279, allocations: 0.7879 MB / 0.8229 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.03279, allocations: 0 / 0.8229 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.03313, allocations: 0.6346 MB / 0.8235 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.03366, allocations: 126.1 kB / 0.8236 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.03473, allocations: 0.8627 MB / 0.8244 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.599e-05/0.03483, allocations: 145.7 kB / 0.8246 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.03497, allocations: 88.31 kB / 0.8247 GB, free: 4.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.03504, allocations: 36.5 kB / 0.8247 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/0.03504, allocations: 0 / 0.8247 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of Templates: time 0.007628/0.04267, allocations: 5.942 MB / 0.8305 GB, free: 14.57 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_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.05647597881034]