Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0009474/0.0009474, allocations: 87.58 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.001046/0.001046, allocations: 161 kB / 23.82 MB, free: 0.75 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.922/0.922, allocations: 177.1 MB / 204.2 MB, free: 5.25 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.786/1.786, allocations: 359 MB / 0.6052 GB, free: 11 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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.253e-05, allocations: 4.984 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003301/0.003313, allocations: 3.806 MB / 0.7908 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.005079, allocations: 1.377 MB / 0.7922 GB, free: 6.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.005247, allocations: 35.62 kB / 0.7922 GB, free: 6.145 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.005657, allocations: 166.8 kB / 0.7923 GB, free: 5.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.006049, allocations: 359.5 kB / 0.7927 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.006386, allocations: 321.1 kB / 0.793 GB, free: 5.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.006981, allocations: 0.9409 MB / 0.7939 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.0073, allocations: 319 kB / 0.7942 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.007697, allocations: 495.1 kB / 0.7947 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.00797, allocations: 307.7 kB / 0.795 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.008014, allocations: 40.78 kB / 0.795 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.008152, allocations: 103.8 kB / 0.7951 GB, free: 3.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.008277, allocations: 200.5 kB / 0.7953 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.008422, allocations: 211.4 kB / 0.7955 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.008832, allocations: 0.5176 MB / 0.796 GB, free: 2.211 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.008834, allocations: 1.375 kB / 0.796 GB, free: 2.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.21e-07/0.008835, allocations: 0 / 0.796 GB, free: 2.211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.008841, allocations: 3.938 kB / 0.796 GB, free: 2.207 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0007719/0.009613, allocations: 0.9418 MB / 0.7969 GB, free: 1.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.009643, allocations: 8.031 kB / 0.797 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007053/0.01035, allocations: 285 kB / 0.7972 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.01083, allocations: 0.4959 MB / 0.7977 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.01085, allocations: 30.16 kB / 0.7977 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.0109, allocations: 56.25 kB / 0.7978 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.01164, allocations: 0.8573 MB / 0.7986 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.01165, allocations: 5.406 kB / 0.7986 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.01168, allocations: 24.36 kB / 0.7987 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.97e-05/0.01174, allocations: 72.89 kB / 0.7987 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.01208, allocations: 298.5 kB / 0.799 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.01452, allocations: 6.293 MB / 0.8052 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.01482, allocations: 276.8 kB / 0.8054 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.01493, allocations: 84.12 kB / 0.8055 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.01495, allocations: 13.17 kB / 0.8055 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.01497, allocations: 41.38 kB / 0.8056 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.01497, allocations: 0 / 0.8056 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001213/0.01618, allocations: 0.6913 MB / 0.8062 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.01621, allocations: 55.69 kB / 0.8063 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.0165, allocations: 498.5 kB / 0.8068 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.01651, allocations: 33.7 kB / 0.8068 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.01667, allocations: 423 kB / 0.8072 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.01674, allocations: 119 kB / 0.8073 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.01683, allocations: 117.6 kB / 0.8074 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.01695, allocations: 0.5391 MB / 0.8079 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.01707, allocations: 89.25 kB / 0.808 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.01732, allocations: 450.8 kB / 0.8085 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.01772, allocations: 0.58 MB / 0.809 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01773, allocations: 4 kB / 0.809 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0006195/0.01835, allocations: 0.6013 MB / 0.8096 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01837, allocations: 16.05 kB / 0.8096 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01837, allocations: 11.94 kB / 0.8096 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.01865, allocations: 126.3 kB / 0.8098 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.01889, allocations: 119.8 kB / 0.8099 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.02098, allocations: 5.263 MB / 0.815 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.02114, allocations: 39.97 kB / 0.8151 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.02116, allocations: 28 kB / 0.8151 GB, free: 13.36 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0001197/0.02128, allocations: 192.5 kB / 0.8153 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.02135, allocations: 75.56 kB / 0.8153 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.02178, allocations: 369 kB / 0.8157 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.02178, allocations: 0 / 0.8157 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02178, allocations: 7.938 kB / 0.8157 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.02179, allocations: 3.984 kB / 0.8157 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008151/0.0226, allocations: 0.8929 MB / 0.8166 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.02261, allocations: 4 kB / 0.8166 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.02273, allocations: 59.89 kB / 0.8166 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002121/0.02294, allocations: 114.3 kB / 0.8167 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.02296, allocations: 12 kB / 0.8168 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.02487, allocations: 5.236 MB / 0.8219 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.02487, allocations: 3.938 kB / 0.8219 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.02532, allocations: 0.5588 MB / 0.8224 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.02542, allocations: 83.58 kB / 0.8225 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.02544, allocations: 8.156 kB / 0.8225 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.02557, allocations: 31.97 kB / 0.8225 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.02561, allocations: 39.81 kB / 0.8226 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.02562, allocations: 12 kB / 0.8226 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001703/0.02579, allocations: 306.8 kB / 0.8229 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.02579, allocations: 0 / 0.8229 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003472/0.02614, allocations: 144 kB / 0.823 GB, free: 4.648 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 8.835e-05/0.02623, allocations: 111.2 kB / 0.8231 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006728/0.0269, allocations: 0.851 MB / 0.824 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.0269, allocations: 4 kB / 0.824 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.02726, allocations: 0.6455 MB / 0.8246 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.02777, allocations: 194.7 kB / 0.8248 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.02884, allocations: 0.9823 MB / 0.8257 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.917e-05/0.02893, allocations: 158 kB / 0.8259 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.02909, allocations: 92.98 kB / 0.826 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.02915, allocations: 40.5 kB / 0.826 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.02915, allocations: 0 / 0.826 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of Templates: time 0.009082/0.03824, allocations: 7.849 MB / 0.8337 GB, free: 9.738 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.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.22411585226655]