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.001027/0.001027, allocations: 81.95 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.0009972/0.0009972, allocations: 185.3 kB / 24.09 MB, free: 416 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.9366/0.9366, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.812/1.812, allocations: 377.9 MB / 0.624 GB, free: 8.395 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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.719e-05, allocations: 2.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003268/0.003295, allocations: 2.611 MB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.005252, allocations: 1.544 MB / 0.816 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.005374, allocations: 7.938 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.005863, allocations: 135.9 kB / 0.8162 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.006167, allocations: 172.3 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.006588, allocations: 248.2 kB / 0.8166 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.006878, allocations: 332.2 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.007123, allocations: 153 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.00735, allocations: 187.6 kB / 0.8172 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.007577, allocations: 141.1 kB / 0.8173 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.007609, allocations: 20 kB / 0.8174 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.00796, allocations: 319.2 kB / 0.8177 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.00804, allocations: 93.08 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.008109, allocations: 87.81 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.008502, allocations: 378.7 kB / 0.8182 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.008507, allocations: 3.984 kB / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008508, allocations: 0.5312 kB / 0.8182 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.008513, allocations: 1.938 kB / 0.8182 GB, free: 11.07 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.0006429/0.009156, allocations: 0.5854 MB / 0.8188 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.009201, allocations: 8.031 kB / 0.8188 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.009685, allocations: 150.6 kB / 0.8189 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.01012, allocations: 204.1 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.01014, allocations: 17.39 kB / 0.8191 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.01016, allocations: 16.38 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.01041, allocations: 278.6 kB / 0.8194 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01042, allocations: 4.844 kB / 0.8194 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.01044, allocations: 8.375 kB / 0.8194 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.01048, allocations: 32.94 kB / 0.8195 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.01059, allocations: 100.8 kB / 0.8196 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01171, allocations: 1.374 MB / 0.8209 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.01191, allocations: 154.9 kB / 0.8211 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.01196, allocations: 47.34 kB / 0.8211 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.01201, allocations: 13.7 kB / 0.8211 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.01203, allocations: 41.33 kB / 0.8212 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.01203, allocations: 1.094 kB / 0.8212 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0009745/0.01301, allocations: 478.2 kB / 0.8216 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.01314, allocations: 81.11 kB / 0.8217 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.01328, allocations: 247.2 kB / 0.8219 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.0133, allocations: 29.7 kB / 0.822 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.01339, allocations: 223.2 kB / 0.8222 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.01344, allocations: 88.28 kB / 0.8223 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.01351, allocations: 67.28 kB / 0.8223 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.01364, allocations: 0.5128 MB / 0.8228 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.461e-05/0.0137, allocations: 39.95 kB / 0.8229 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.0138, allocations: 153.9 kB / 0.823 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.01396, allocations: 218 kB / 0.8232 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01397, allocations: 1.344 kB / 0.8232 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003679/0.01433, allocations: 317.8 kB / 0.8235 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01435, allocations: 11.25 kB / 0.8235 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01435, allocations: 0 / 0.8235 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.01469, allocations: 144.9 kB / 0.8237 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.01481, allocations: 56.84 kB / 0.8237 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.01751, allocations: 6.012 MB / 0.8296 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.01761, allocations: 8 kB / 0.8296 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.01763, allocations: 15.98 kB / 0.8296 GB, free: 14.63 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.01775, allocations: 181.4 kB / 0.8298 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.01779, allocations: 23.86 kB / 0.8298 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.01815, allocations: 292.3 kB / 0.8301 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01816, allocations: 7.938 kB / 0.8301 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.01816, allocations: 0 / 0.8301 GB, free: 14.11 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.01817, allocations: 11.98 kB / 0.8301 GB, free: 14.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.01889, allocations: 0.6838 MB / 0.8308 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01889, allocations: 3.938 kB / 0.8308 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.01896, allocations: 27.98 kB / 0.8308 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/0.01923, allocations: 146.8 kB / 0.8309 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01925, allocations: 8 kB / 0.8309 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002484/0.02173, allocations: 6.07 MB / 0.8369 GB, free: 6.68 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.02174, allocations: 8.156 kB / 0.8369 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.02214, allocations: 0.5848 MB / 0.8375 GB, free: 6.016 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.512e-05/0.02219, allocations: 43.86 kB / 0.8375 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.02221, allocations: 4 kB / 0.8375 GB, free: 5.969 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.02231, allocations: 8 kB / 0.8375 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.02234, allocations: 31.89 kB / 0.8375 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.02235, allocations: 12 kB / 0.8376 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 7.013e-05/0.02242, allocations: 171.9 kB / 0.8377 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.02242, allocations: 4 kB / 0.8377 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003608/0.02279, allocations: 103.9 kB / 0.8378 GB, free: 5.645 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.02296, allocations: 139.1 kB / 0.8379 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.02344, allocations: 0.685 MB / 0.8386 GB, free: 4.758 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02344, allocations: 0 / 0.8386 GB, free: 4.758 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.02395, allocations: 0.587 MB / 0.8392 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.02427, allocations: 47.91 kB / 0.8392 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008113/0.02508, allocations: 0.5777 MB / 0.8398 GB, free: 3.43 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.935e-05/0.02515, allocations: 108.3 kB / 0.8399 GB, free: 3.305 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 7.541e-05/0.02523, allocations: 34.27 kB / 0.8399 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/0.02532, allocations: 106.2 kB / 0.84 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of SimCode: time 5.61e-07/0.02532, allocations: 0 / 0.84 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of Templates: time 0.007092/0.03241, allocations: 4.766 MB / 0.8447 GB, free: 14.46 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] 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","",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.966917783021927]