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.0009239/0.0009239, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001012/0.001012, allocations: 165 kB / 23.82 MB, free: 0.7383 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.896/0.896, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.843/1.843, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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 1.273e-06/1.273e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.723e-05, allocations: 4.234 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003012/0.003029, allocations: 3.13 MB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.004605, allocations: 1.121 MB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.004774, allocations: 27.75 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.005262, allocations: 124 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.005656, allocations: 249.5 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.006, allocations: 211 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.006596, allocations: 0.6244 MB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003513/0.006948, allocations: 238.5 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.007328, allocations: 343.9 kB / 0.8174 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.007587, allocations: 212.9 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.007623, allocations: 31.94 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.007761, allocations: 89.38 kB / 0.8177 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.007855, allocations: 131.6 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.007955, allocations: 131.6 kB / 0.818 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.008312, allocations: 370.6 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.008314, allocations: 1.094 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/0.008315, allocations: 4 kB / 0.8184 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.008321, allocations: 0 / 0.8184 GB, free: 10.72 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.0007321/0.009053, allocations: 0.739 MB / 0.8191 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.009095, allocations: 12.62 kB / 0.8191 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.009577, allocations: 164.9 kB / 0.8192 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.009953, allocations: 356.3 kB / 0.8196 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.009976, allocations: 32.94 kB / 0.8196 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.01002, allocations: 37.05 kB / 0.8197 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.01051, allocations: 0.5451 MB / 0.8202 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01052, allocations: 3.938 kB / 0.8202 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.01055, allocations: 15.98 kB / 0.8202 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.0106, allocations: 45.47 kB / 0.8202 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.01085, allocations: 197.4 kB / 0.8204 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.01261, allocations: 3.538 MB / 0.8239 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.01293, allocations: 199.1 kB / 0.8241 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.369e-05/0.01303, allocations: 67.66 kB / 0.8241 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.01305, allocations: 4 kB / 0.8241 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.01307, allocations: 49.27 kB / 0.8242 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/0.01307, allocations: 0 / 0.8242 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0008416/0.01391, allocations: 0.4979 MB / 0.8247 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.01394, allocations: 56.73 kB / 0.8247 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.01416, allocations: 374.5 kB / 0.8251 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01417, allocations: 33.7 kB / 0.8251 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01429, allocations: 295.4 kB / 0.8254 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.01435, allocations: 107.1 kB / 0.8255 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.01445, allocations: 85.8 kB / 0.8256 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01458, allocations: 0.5118 MB / 0.8261 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.01467, allocations: 64.95 kB / 0.8262 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.01483, allocations: 270.5 kB / 0.8264 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.01512, allocations: 369.1 kB / 0.8268 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01512, allocations: 0 / 0.8268 GB, free: 1.543 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004572/0.01558, allocations: 424.6 kB / 0.8272 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01559, allocations: 4 kB / 0.8272 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.0156, allocations: 8 kB / 0.8272 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.01577, allocations: 64.39 kB / 0.8272 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.01596, allocations: 92.91 kB / 0.8273 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.01597, allocations: 8 kB / 0.8273 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01609, allocations: 23.97 kB / 0.8274 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.0161, allocations: 20.97 kB / 0.8274 GB, free: 0.8867 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.0001093/0.01621, allocations: 185.1 kB / 0.8276 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.01626, allocations: 51.17 kB / 0.8276 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.01662, allocations: 276.6 kB / 0.8279 GB, free: 368 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01662, allocations: 7.984 kB / 0.8279 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01663, allocations: 0 / 0.8279 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01663, allocations: 0 / 0.8279 GB, free: 360 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006921/0.01732, allocations: 0.6826 MB / 0.8285 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.01733, allocations: 0 / 0.8285 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.01744, allocations: 48.62 kB / 0.8286 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.01757, allocations: 67 kB / 0.8287 GB, free: 15.48 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01759, allocations: 11.94 kB / 0.8287 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.01759, allocations: 0 / 0.8287 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01759, allocations: 7.938 kB / 0.8287 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.01798, allocations: 453.9 kB / 0.8291 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.01806, allocations: 59.73 kB / 0.8292 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.01809, allocations: 4 kB / 0.8292 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.01819, allocations: 19.97 kB / 0.8292 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.01824, allocations: 23.95 kB / 0.8292 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01826, allocations: 16 kB / 0.8292 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000126/0.01838, allocations: 239.1 kB / 0.8295 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01838, allocations: 0 / 0.8295 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002468/0.01863, allocations: 88 kB / 0.8295 GB, free: 14.53 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 8.524e-05/0.01871, allocations: 111.1 kB / 0.8296 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.01907, allocations: 253.6 kB / 0.8299 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01907, allocations: 0 / 0.8299 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.0192, allocations: 134.7 kB / 0.83 GB, free: 14 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.01961, allocations: 128.4 kB / 0.8301 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.02052, allocations: 0.6702 MB / 0.8308 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.39e-05/0.02059, allocations: 113.6 kB / 0.8309 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.02073, allocations: 67.28 kB / 0.831 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.02079, allocations: 28.5 kB / 0.831 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of SimCode: time 7.61e-07/0.02079, allocations: 0 / 0.831 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of Templates: time 0.006924/0.02771, allocations: 5.093 MB / 0.836 GB, free: 8.012 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.980828252155334]