Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001386/0.001386, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001025/0.001025, allocations: 181 kB / 24.09 MB, free: 420 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.8961/0.8961, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.821/1.821, allocations: 377.9 MB / 0.6239 GB, free: 8.406 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.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.583e-05, allocations: 2.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003141/0.003157, allocations: 3.086 MB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.004733, allocations: 1.121 MB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.004899, allocations: 23.75 kB / 0.8161 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004398/0.005339, allocations: 119.9 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.005681, allocations: 254.6 kB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.005995, allocations: 212.8 kB / 0.8167 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.006497, allocations: 0.6288 MB / 0.8173 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.00678, allocations: 236.1 kB / 0.8175 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.007131, allocations: 331.2 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.007413, allocations: 228.5 kB / 0.8181 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.007449, allocations: 24.78 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.007596, allocations: 91.86 kB / 0.8182 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.007686, allocations: 124.7 kB / 0.8183 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.007779, allocations: 139.6 kB / 0.8184 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.008106, allocations: 370.5 kB / 0.8188 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.008108, allocations: 1.375 kB / 0.8188 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.41e-07/0.008109, allocations: 0 / 0.8188 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.008114, allocations: 0 / 0.8188 GB, free: 10.52 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0006668/0.00878, allocations: 0.7426 MB / 0.8195 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.008816, allocations: 12.78 kB / 0.8195 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.009202, allocations: 140.4 kB / 0.8196 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.009522, allocations: 362.8 kB / 0.82 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.009539, allocations: 25.02 kB / 0.82 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.009575, allocations: 32.33 kB / 0.82 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.009953, allocations: 0.5246 MB / 0.8206 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.009965, allocations: 0 / 0.8206 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.009987, allocations: 19.98 kB / 0.8206 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.01003, allocations: 44.56 kB / 0.8206 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.01019, allocations: 154.9 kB / 0.8208 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.01168, allocations: 3.461 MB / 0.8241 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.01193, allocations: 179 kB / 0.8243 GB, free: 4.523 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.01199, allocations: 63.64 kB / 0.8244 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.01201, allocations: 8 kB / 0.8244 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.01204, allocations: 33.39 kB / 0.8244 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.01204, allocations: 0 / 0.8244 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0007152/0.01275, allocations: 420 kB / 0.8248 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.01278, allocations: 56.64 kB / 0.8249 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.01296, allocations: 366.4 kB / 0.8252 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.01298, allocations: 29.7 kB / 0.8253 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.01312, allocations: 307.8 kB / 0.8255 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.01318, allocations: 111.1 kB / 0.8256 GB, free: 3.086 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.01325, allocations: 83.73 kB / 0.8257 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.01338, allocations: 0.5245 MB / 0.8262 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.01344, allocations: 44.97 kB / 0.8263 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.01358, allocations: 254.6 kB / 0.8265 GB, free: 2.086 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.01382, allocations: 347.5 kB / 0.8269 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01382, allocations: 0 / 0.8269 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003803/0.0142, allocations: 377.9 kB / 0.8272 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01422, allocations: 8 kB / 0.8272 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.01422, allocations: 4 kB / 0.8272 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.01438, allocations: 76.16 kB / 0.8273 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01454, allocations: 79.91 kB / 0.8274 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01455, allocations: 7.938 kB / 0.8274 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.773e-05/0.01465, allocations: 15.98 kB / 0.8274 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.01467, allocations: 16 kB / 0.8274 GB, free: 1.07 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.01478, allocations: 180.5 kB / 0.8276 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.01482, allocations: 47.77 kB / 0.8276 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.01513, allocations: 257.8 kB / 0.8279 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.01514, allocations: 15.94 kB / 0.8279 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01514, allocations: 0 / 0.8279 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01514, allocations: 0 / 0.8279 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.01573, allocations: 0.6128 MB / 0.8285 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01573, allocations: 0 / 0.8285 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.01582, allocations: 35.98 kB / 0.8285 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.01593, allocations: 62.95 kB / 0.8286 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01594, allocations: 8 kB / 0.8286 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.01594, allocations: 8.078 kB / 0.8286 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.01595, allocations: 0 / 0.8286 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.01624, allocations: 433.7 kB / 0.829 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.0163, allocations: 51.67 kB / 0.8291 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01633, allocations: 8 kB / 0.8291 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.01641, allocations: 8 kB / 0.8291 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.01645, allocations: 27.94 kB / 0.8291 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01646, allocations: 4 kB / 0.8291 GB, free: 15.19 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 9.685e-05/0.01656, allocations: 239 kB / 0.8293 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.01656, allocations: 0 / 0.8293 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002843/0.01684, allocations: 92 kB / 0.8294 GB, free: 14.87 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.57e-05/0.01692, allocations: 107.1 kB / 0.8295 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01718, allocations: 226.2 kB / 0.8297 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.01718, allocations: 4.125 kB / 0.8298 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.0173, allocations: 126.6 kB / 0.8299 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.01767, allocations: 131.4 kB / 0.83 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.01843, allocations: 0.6648 MB / 0.8306 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.258e-05/0.01849, allocations: 117.6 kB / 0.8308 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.0186, allocations: 47.33 kB / 0.8308 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.01877, allocations: 174.1 kB / 0.831 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/0.01877, allocations: 0 / 0.831 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of Templates: time 0.006482/0.02526, allocations: 5.17 MB / 0.836 GB, free: 8.164 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.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: 4.952315745875239]