Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001389/0.001389, 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.001376/0.001376, 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.9458/0.9458, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.861/1.861, allocations: 377.8 MB / 0.6239 GB, free: 8.531 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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.[0-9,]+.|dynRL.i.[0-9,]+.|dynRC.v.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.044e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004984/0.005014, allocations: 3.369 MB / 0.8148 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.007576, allocations: 2.043 MB / 0.8168 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.007708, allocations: 11.94 kB / 0.8168 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.008366, allocations: 296.4 kB / 0.8171 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.008762, allocations: 244.1 kB / 0.8173 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.009239, allocations: 287.6 kB / 0.8176 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.009591, allocations: 418.5 kB / 0.818 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.009873, allocations: 168.2 kB / 0.8182 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.01013, allocations: 227.4 kB / 0.8184 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.0104, allocations: 195.5 kB / 0.8186 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.01043, allocations: 24.53 kB / 0.8186 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.01071, allocations: 243.4 kB / 0.8188 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.01083, allocations: 136.3 kB / 0.819 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.01092, allocations: 103.7 kB / 0.8191 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.01133, allocations: 395.3 kB / 0.8194 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01134, allocations: 5.656 kB / 0.8194 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01134, allocations: 0 / 0.8194 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.01135, allocations: 0 / 0.8194 GB, free: 9.945 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007378/0.01208, allocations: 0.6293 MB / 0.8201 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.01213, allocations: 15.97 kB / 0.8201 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006725/0.0128, allocations: 158.4 kB / 0.8202 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.01307, allocations: 223.4 kB / 0.8204 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.01309, allocations: 20.88 kB / 0.8205 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/0.01319, allocations: 41.34 kB / 0.8205 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.01364, allocations: 422.3 kB / 0.8209 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.01366, allocations: 4.141 kB / 0.8209 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.01368, allocations: 17.03 kB / 0.8209 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/0.01378, allocations: 36.47 kB / 0.821 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.01404, allocations: 155.6 kB / 0.8211 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.01544, allocations: 1.842 MB / 0.8229 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.01568, allocations: 151 kB / 0.823 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.125e-05/0.01577, allocations: 71.58 kB / 0.8231 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.01578, allocations: 4 kB / 0.8231 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.01581, allocations: 37.39 kB / 0.8231 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.01581, allocations: 0 / 0.8231 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.000969/0.01678, allocations: 0.5515 MB / 0.8237 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.01681, allocations: 59.34 kB / 0.8237 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.01702, allocations: 300.2 kB / 0.824 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.01704, allocations: 29.7 kB / 0.8241 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.01713, allocations: 235.1 kB / 0.8243 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.01719, allocations: 88.36 kB / 0.8244 GB, free: 4.613 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.01728, allocations: 87.28 kB / 0.8245 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.0174, allocations: 0.4962 MB / 0.8249 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.01751, allocations: 64.61 kB / 0.825 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.01768, allocations: 182.9 kB / 0.8252 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.01794, allocations: 266.9 kB / 0.8254 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01794, allocations: 0 / 0.8254 GB, free: 3.422 MB / 0.7761 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005859/0.01853, allocations: 386 kB / 0.8258 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.01854, allocations: 9.125 kB / 0.8258 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01855, allocations: 8 kB / 0.8258 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.01916, allocations: 191.5 kB / 0.826 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.01933, allocations: 67.89 kB / 0.8261 GB, free: 2.773 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.02089, allocations: 2.192 MB / 0.8282 GB, free: 472 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.02106, allocations: 23.97 kB / 0.8282 GB, free: 448 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.02107, allocations: 12 kB / 0.8282 GB, free: 436 kB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.02119, allocations: 180.5 kB / 0.8284 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.02123, allocations: 31.86 kB / 0.8284 GB, free: 212 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.0215, allocations: 203.4 kB / 0.8286 GB, free: 0 / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.02151, allocations: 4.047 kB / 0.8286 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02151, allocations: 3.938 kB / 0.8286 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02152, allocations: 3.938 kB / 0.8286 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.02208, allocations: 0.5725 MB / 0.8292 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.02208, allocations: 4 kB / 0.8292 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.02228, allocations: 67.89 kB / 0.8293 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.02229, allocations: 12.05 kB / 0.8293 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.02231, allocations: 7.938 kB / 0.8293 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.02231, allocations: 4 kB / 0.8293 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02231, allocations: 3.938 kB / 0.8293 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.02267, allocations: 422.2 kB / 0.8297 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.02274, allocations: 51.77 kB / 0.8297 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.02276, allocations: 11.98 kB / 0.8298 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.02287, allocations: 7.984 kB / 0.8298 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.0229, allocations: 15.98 kB / 0.8298 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.02291, allocations: 4 kB / 0.8298 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000117/0.02303, allocations: 204 kB / 0.83 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2e-07/0.02303, allocations: 0 / 0.83 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002827/0.02331, allocations: 88 kB / 0.8301 GB, free: 14.46 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001475/0.02346, allocations: 115.2 kB / 0.8302 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.024, allocations: 429.6 kB / 0.8306 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.024, allocations: 0 / 0.8306 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.687e-05/0.02409, allocations: 94.33 kB / 0.8307 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.02439, allocations: 49.06 kB / 0.8307 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.02554, allocations: 0.7052 MB / 0.8314 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.389e-05/0.02562, allocations: 112.3 kB / 0.8315 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.02574, allocations: 58.22 kB / 0.8316 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.0258, allocations: 24.48 kB / 0.8316 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of SimCode: time 1.153e-06/0.0258, allocations: 8 kB / 0.8316 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of Templates: time 0.006111/0.03191, allocations: 4.213 MB / 0.8357 GB, free: 8.645 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.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.157674191985279]