Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009259/0.009259, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003372, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8383, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.0036/0.8419, allocations: 3.523 MB / 0.9585 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.8445, allocations: 1.734 MB / 0.9602 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.8448, allocations: 9.219 kB / 0.9602 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.845, allocations: 54.47 kB / 0.9602 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.8456, allocations: 236.9 kB / 0.9605 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006039/0.8462, allocations: 227.8 kB / 0.9607 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000671/0.8469, allocations: 0.7102 MB / 0.9614 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.8473, allocations: 360.8 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.8476, allocations: 159.5 kB / 0.9619 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.848, allocations: 224.5 kB / 0.9621 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.8481, allocations: 15.66 kB / 0.9621 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.8486, allocations: 225.6 kB / 0.9623 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.8488, allocations: 119.8 kB / 0.9624 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.849, allocations: 184.4 kB / 0.9626 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007455/0.8498, allocations: 486.1 kB / 0.9631 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8498, allocations: 0 / 0.9631 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8498, allocations: 0 / 0.9631 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.8498, allocations: 0 / 0.9631 GB, free: 1.727 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001405/0.8512, allocations: 0.6085 MB / 0.9636 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.8513, allocations: 9 kB / 0.9637 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005628/0.8519, allocations: 87.81 kB / 0.9637 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.8522, allocations: 288.2 kB / 0.964 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.8522, allocations: 20.19 kB / 0.964 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.8523, allocations: 23.28 kB / 0.9641 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.8531, allocations: 0.4966 MB / 0.9645 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.8531, allocations: 0 / 0.9645 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.8532, allocations: 11.72 kB / 0.9646 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.8532, allocations: 39.84 kB / 0.9646 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/0.854, allocations: 387.6 kB / 0.965 GB, free: 352 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.8565, allocations: 2.053 MB / 0.967 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006246/0.8571, allocations: 224.2 kB / 0.9672 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.8576, allocations: 174.8 kB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.8576, allocations: 1.844 kB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.8577, allocations: 40.44 kB / 0.9674 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.8577, allocations: 3.938 kB / 0.9674 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001217/0.8589, allocations: 459.4 kB / 0.9678 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.859, allocations: 53.66 kB / 0.9679 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.8593, allocations: 255.1 kB / 0.9681 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.8594, allocations: 34.73 kB / 0.9682 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.8595, allocations: 210.7 kB / 0.9684 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.8596, allocations: 67.78 kB / 0.9684 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.8596, allocations: 25.12 kB / 0.9684 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8597, allocations: 337 kB / 0.9688 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.86, allocations: 102.9 kB / 0.9689 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.8604, allocations: 223 kB / 0.9691 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.861, allocations: 328.9 kB / 0.9694 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8611, allocations: 2.312 kB / 0.9694 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009106/0.862, allocations: 383.1 kB / 0.9698 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.8621, allocations: 198.9 kB / 0.9699 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.8621, allocations: 7.172 kB / 0.97 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.8624, allocations: 31.06 kB / 0.97 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.8627, allocations: 82.11 kB / 0.9701 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.8641, allocations: 1.329 MB / 0.9714 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.8644, allocations: 44.7 kB / 0.9714 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.8644, allocations: 15.23 kB / 0.9714 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.8644, allocations: 3.562 kB / 0.9714 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006773/0.8651, allocations: 302.9 kB / 0.9717 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8651, allocations: 7.094 kB / 0.9717 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/0.8651, allocations: 5.594 kB / 0.9717 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.8654, allocations: 86.36 kB / 0.9718 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8654, allocations: 4.281 kB / 0.9718 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.8657, allocations: 38.98 kB / 0.9718 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.8657, allocations: 14.53 kB / 0.9719 GB, free: 10.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.8659, allocations: 243.2 kB / 0.9721 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.866, allocations: 23.38 kB / 0.9721 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.8661, allocations: 41.36 kB / 0.9722 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.8661, allocations: 3.031 kB / 0.9722 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8661, allocations: 0 / 0.9722 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8661, allocations: 3.984 kB / 0.9722 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.8674, allocations: 0.7691 MB / 0.9729 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.8674, allocations: 1.438 kB / 0.9729 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.8676, allocations: 50 kB / 0.973 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.8677, allocations: 29.36 kB / 0.973 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.8678, allocations: 9.281 kB / 0.973 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.8689, allocations: 1.318 MB / 0.9743 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8689, allocations: 3.938 kB / 0.9743 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.8696, allocations: 385.3 kB / 0.9747 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.8698, allocations: 117.9 kB / 0.9748 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.8698, allocations: 9.188 kB / 0.9748 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.87, allocations: 21.33 kB / 0.9748 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.8701, allocations: 23.16 kB / 0.9748 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.8701, allocations: 8.875 kB / 0.9748 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001742/0.8703, allocations: 183.7 kB / 0.975 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.134e-06/0.8703, allocations: 0 / 0.975 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006231/0.8709, allocations: 153.1 kB / 0.9752 GB, free: 7.539 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001205/0.871, allocations: 95.66 kB / 0.9752 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.8722, allocations: 0.5177 MB / 0.9757 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8722, allocations: 1.312 kB / 0.9757 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.8726, allocations: 226.3 kB / 0.976 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.8732, allocations: 70.12 kB / 0.976 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.8745, allocations: 0.6939 MB / 0.9767 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.875, allocations: 0.8014 MB / 0.9775 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.8753, allocations: 74.05 kB / 0.9776 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.8754, allocations: 21.19 kB / 0.9776 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of SimCode: time 2.244e-06/0.8754, allocations: 0 / 0.9776 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of Templates: time 0.007889/0.8833, allocations: 3.212 MB / 0.9807 GB, free: 4.012 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches