Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001769/0.001769, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002351/0.002351, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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 1.467/1.467, allocations: 177.2 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 2.848/2.848, allocations: 377.8 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 176] 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.756e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005345/0.005373, allocations: 3.033 MB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00369/0.009063, allocations: 1.87 MB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.009267, allocations: 9.031 kB / 0.8156 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.01033, allocations: 280 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.01094, allocations: 200.1 kB / 0.816 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.01169, allocations: 265.1 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.0122, allocations: 322.9 kB / 0.8166 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.01256, allocations: 153 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.01294, allocations: 184.3 kB / 0.8169 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.01328, allocations: 144 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.685e-05/0.01332, allocations: 20 kB / 0.8171 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.01404, allocations: 384.4 kB / 0.8174 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.01418, allocations: 95.72 kB / 0.8175 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.01431, allocations: 79.83 kB / 0.8176 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.01559, allocations: 0.5219 MB / 0.8181 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.01559, allocations: 1.531 kB / 0.8181 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01559, allocations: 0 / 0.8181 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.0156, allocations: 0 / 0.8181 GB, free: 10.58 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001074/0.01667, allocations: 0.4911 MB / 0.8186 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.01672, allocations: 12.03 kB / 0.8186 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009775/0.01769, allocations: 164.5 kB / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.01813, allocations: 219.8 kB / 0.819 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.01816, allocations: 12.88 kB / 0.819 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.191e-05/0.01824, allocations: 24.36 kB / 0.819 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.0189, allocations: 397.1 kB / 0.8194 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01892, allocations: 4.656 kB / 0.8194 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.01896, allocations: 12.89 kB / 0.8194 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.01901, allocations: 28.42 kB / 0.8194 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.01954, allocations: 290.3 kB / 0.8197 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.02179, allocations: 1.233 MB / 0.8209 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.0223, allocations: 240.9 kB / 0.8212 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.02249, allocations: 101.7 kB / 0.8213 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.02258, allocations: 16.58 kB / 0.8213 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.02262, allocations: 34.56 kB / 0.8213 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.02262, allocations: 0.7188 kB / 0.8213 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.00275/0.02537, allocations: 0.9132 MB / 0.8222 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.02544, allocations: 81.98 kB / 0.8223 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.02572, allocations: 208.3 kB / 0.8225 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.02576, allocations: 33.17 kB / 0.8225 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.02591, allocations: 176.4 kB / 0.8227 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.02601, allocations: 83.27 kB / 0.8227 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.02613, allocations: 57.7 kB / 0.8228 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.02635, allocations: 338.8 kB / 0.8231 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.02659, allocations: 127.9 kB / 0.8232 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.0269, allocations: 215.2 kB / 0.8235 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.02747, allocations: 362.3 kB / 0.8238 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02747, allocations: 0.6562 kB / 0.8238 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001046/0.02852, allocations: 0.5218 MB / 0.8243 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.02854, allocations: 7.281 kB / 0.8243 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.02855, allocations: 4 kB / 0.8243 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.02933, allocations: 181.2 kB / 0.8245 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.0296, allocations: 65.02 kB / 0.8246 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/0.03386, allocations: 3.939 MB / 0.8284 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.03408, allocations: 19.97 kB / 0.8284 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.0341, allocations: 8 kB / 0.8284 GB, free: 15.46 MB / 0.7917 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002433/0.03435, allocations: 164.1 kB / 0.8286 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.03444, allocations: 23.91 kB / 0.8286 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.03544, allocations: 477.9 kB / 0.8291 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.03545, allocations: 5.094 kB / 0.8291 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.03545, allocations: 3.938 kB / 0.8291 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.03546, allocations: 0 / 0.8291 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.03723, allocations: 0.8985 MB / 0.83 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.03723, allocations: 4 kB / 0.83 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.03738, allocations: 31.92 kB / 0.83 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006119/0.03799, allocations: 175.4 kB / 0.8302 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.03801, allocations: 8 kB / 0.8302 GB, free: 13.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.04196, allocations: 3.907 MB / 0.834 GB, free: 9.426 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.04197, allocations: 4 kB / 0.834 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.04295, allocations: 0.6255 MB / 0.8346 GB, free: 8.742 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.04308, allocations: 47.83 kB / 0.8346 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.04313, allocations: 11.94 kB / 0.8346 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.04338, allocations: 24.14 kB / 0.8347 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.04344, allocations: 27.89 kB / 0.8347 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.04346, allocations: 11.94 kB / 0.8347 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001824/0.04365, allocations: 160 kB / 0.8349 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.04365, allocations: 0 / 0.8349 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005612/0.04421, allocations: 91.92 kB / 0.8349 GB, free: 8.375 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002793/0.04449, allocations: 147 kB / 0.8351 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.04559, allocations: 0.5744 MB / 0.8356 GB, free: 7.625 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.04559, allocations: 4 kB / 0.8357 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.04622, allocations: 394 kB / 0.836 GB, free: 7.211 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.04674, allocations: 37.95 kB / 0.8361 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.04801, allocations: 0.6222 MB / 0.8367 GB, free: 6.504 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.04825, allocations: 169.1 kB / 0.8368 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.04843, allocations: 62.23 kB / 0.8369 GB, free: 6.262 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.0485, allocations: 28.48 kB / 0.8369 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/0.0485, allocations: 3.938 kB / 0.8369 GB, free: 6.23 MB / 0.7917 GB Notification: Performance of Templates: time 0.01017/0.05867, allocations: 4.198 MB / 0.841 GB, free: 2.094 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.987585300928913]