Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001377/0.001377, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001645/0.001645, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437.7 MB / 0.7117 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003608, allocations: 8 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.8529, allocations: 153.8 MB / 1.022 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004552/0.8575, allocations: 3.386 MB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.8602, allocations: 1.661 MB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.8604, allocations: 7.938 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.8607, allocations: 55.56 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004728/0.8612, allocations: 179.1 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.8617, allocations: 195.7 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.8624, allocations: 0.5685 MB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.8628, allocations: 344.3 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.863, allocations: 159.4 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.8634, allocations: 211.3 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.8635, allocations: 19.94 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.8637, allocations: 87.81 kB / 1.029 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.8638, allocations: 111.7 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.8639, allocations: 85.58 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.8643, allocations: 373.1 kB / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.8643, allocations: 0 / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8643, allocations: 0 / 1.03 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.8643, allocations: 0 / 1.03 GB, free: 8.75 MB / 0.7794 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.001007/0.8654, allocations: 0.6003 MB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.8654, allocations: 8.031 kB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.8659, allocations: 83.47 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.8664, allocations: 286.4 kB / 1.031 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.8664, allocations: 24.61 kB / 1.031 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.8665, allocations: 31.98 kB / 1.031 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.8674, allocations: 493.8 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.8674, allocations: 7.938 kB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.8674, allocations: 12 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/0.8675, allocations: 40.62 kB / 1.031 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.8682, allocations: 378.3 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.8705, allocations: 2.052 MB / 1.034 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.8711, allocations: 218.8 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.8715, allocations: 176.7 kB / 1.034 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.8715, allocations: 4 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.8715, allocations: 34.56 kB / 1.034 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.8716, allocations: 3.938 kB / 1.034 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001108/0.8727, allocations: 449.6 kB / 1.034 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.373e-05/0.8728, allocations: 55.41 kB / 1.034 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.873, allocations: 262.6 kB / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.8731, allocations: 29.7 kB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.8732, allocations: 219.7 kB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.8733, allocations: 67.05 kB / 1.035 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.8733, allocations: 4 kB / 1.035 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.8735, allocations: 330.8 kB / 1.035 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.8738, allocations: 104.4 kB / 1.035 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.8741, allocations: 223.5 kB / 1.036 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.8745, allocations: 127.9 kB / 1.036 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.8745, allocations: 7.953 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007499/0.8752, allocations: 367.8 kB / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.8754, allocations: 194.2 kB / 1.036 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8754, allocations: 4 kB / 1.036 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/0.8757, allocations: 36.83 kB / 1.036 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.8759, allocations: 71.89 kB / 1.036 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.8772, allocations: 1.346 MB / 1.038 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.8775, allocations: 55.81 kB / 1.038 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.8775, allocations: 12 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.8775, allocations: 4.938 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005817/0.8781, allocations: 302.4 kB / 1.038 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8781, allocations: 8.094 kB / 1.038 GB, free: 15.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.8781, allocations: 4 kB / 1.038 GB, free: 15.45 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.8784, allocations: 75.89 kB / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.8784, allocations: 15.92 kB / 1.038 GB, free: 15.36 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.8786, allocations: 43.67 kB / 1.038 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.8786, allocations: 12 kB / 1.038 GB, free: 15.31 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.8788, allocations: 249 kB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.8789, allocations: 23.72 kB / 1.038 GB, free: 15.03 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.203e-05/0.879, allocations: 30.17 kB / 1.038 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.879, allocations: 4 kB / 1.038 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.879, allocations: 0 / 1.038 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.879, allocations: 0 / 1.038 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.8801, allocations: 0.7772 MB / 1.039 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8802, allocations: 0 / 1.039 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.8804, allocations: 43.97 kB / 1.039 GB, free: 14.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.8805, allocations: 28.91 kB / 1.039 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.8806, allocations: 4 kB / 1.039 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.8816, allocations: 1.312 MB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8817, allocations: 0 / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006108/0.8823, allocations: 397.5 kB / 1.041 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.685e-05/0.8824, allocations: 120.7 kB / 1.041 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.8824, allocations: 8 kB / 1.041 GB, free: 12.06 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.8826, allocations: 23.98 kB / 1.041 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.8827, allocations: 19.88 kB / 1.041 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.8827, allocations: 4 kB / 1.041 GB, free: 12.02 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000182/0.8829, allocations: 186 kB / 1.041 GB, free: 11.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8829, allocations: 0 / 1.041 GB, free: 11.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005571/0.8834, allocations: 143.5 kB / 1.041 GB, free: 11.7 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001275/0.8836, allocations: 115 kB / 1.042 GB, free: 11.58 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.8846, allocations: 0.509 MB / 1.042 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8846, allocations: 0 / 1.042 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.8849, allocations: 224.7 kB / 1.042 GB, free: 10.83 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.8854, allocations: 61.27 kB / 1.042 GB, free: 10.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.8865, allocations: 0.6717 MB / 1.043 GB, free: 10.06 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.887, allocations: 0.7996 MB / 1.044 GB, free: 9.23 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.8874, allocations: 66.22 kB / 1.044 GB, free: 9.164 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.8874, allocations: 27.44 kB / 1.044 GB, free: 9.137 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.8875, allocations: 0 / 1.044 GB, free: 9.137 MB / 0.795 GB Notification: Performance of Templates: time 0.007353/0.8948, allocations: 3.105 MB / 1.047 GB, free: 6.066 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches