Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00923/0.00923, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001604/0.001604, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.835/2.835, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.91 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3959, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.007409/0.4034, allocations: 3.86 MB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003722/0.4072, allocations: 1.776 MB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.4076, allocations: 11.94 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.4092, allocations: 438.3 kB / 1.214 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008812/0.4101, allocations: 250.8 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008672/0.411, allocations: 253 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008173/0.4118, allocations: 0.4906 MB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007279/0.4126, allocations: 360.8 kB / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00038/0.413, allocations: 195.3 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005434/0.4135, allocations: 239.2 kB / 1.215 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.7e-05/0.4136, allocations: 31.94 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.4141, allocations: 183.6 kB / 1.216 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.4143, allocations: 131.6 kB / 1.216 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.4146, allocations: 179.1 kB / 1.216 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000766/0.4153, allocations: 0.4906 MB / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4154, allocations: 0 / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4154, allocations: 0 / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.4154, allocations: 0 / 1.216 GB, free: 0.8008 MB / 0.9669 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.0015/0.4169, allocations: 0.6549 MB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.417, allocations: 12.62 kB / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006439/0.4176, allocations: 84.41 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.4181, allocations: 299.5 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.4181, allocations: 21.03 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.4182, allocations: 32.36 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.4191, allocations: 490 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4191, allocations: 0 / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.4192, allocations: 12 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.4193, allocations: 40.62 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00074/0.42, allocations: 366.2 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.4224, allocations: 2.037 MB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.423, allocations: 214.7 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.4234, allocations: 152.8 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.4234, allocations: 4 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.4235, allocations: 38.56 kB / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 3.116e-06/0.4235, allocations: 0 / 1.221 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001105/0.4246, allocations: 432.3 kB / 1.221 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.4247, allocations: 51.41 kB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.425, allocations: 258.7 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.4251, allocations: 33.7 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.4252, allocations: 211.7 kB / 1.222 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.4253, allocations: 67.03 kB / 1.222 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.4254, allocations: 57.89 kB / 1.222 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4255, allocations: 342.8 kB / 1.222 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.4258, allocations: 97.91 kB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.4261, allocations: 207.6 kB / 1.222 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.4266, allocations: 307 kB / 1.223 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4267, allocations: 4 kB / 1.223 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007818/0.4274, allocations: 358.1 kB / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4275, allocations: 13.34 kB / 1.223 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4275, allocations: 4 kB / 1.223 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.4277, allocations: 36.83 kB / 1.223 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.428, allocations: 59.91 kB / 1.223 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.4294, allocations: 1.437 MB / 1.224 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.4297, allocations: 43.67 kB / 1.225 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.4297, allocations: 12 kB / 1.225 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003315/0.4301, allocations: 216.6 kB / 1.225 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003244/0.4304, allocations: 221.5 kB / 1.225 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005225/0.4309, allocations: 315.8 kB / 1.225 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.431, allocations: 0 / 1.225 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006593/0.4316, allocations: 338.2 kB / 1.226 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.4316, allocations: 8 kB / 1.226 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4317, allocations: 4.047 kB / 1.226 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.4317, allocations: 11.98 kB / 1.226 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.4319, allocations: 72.36 kB / 1.226 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.432, allocations: 11.94 kB / 1.226 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.4322, allocations: 31.83 kB / 1.226 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.4322, allocations: 16 kB / 1.226 GB, free: 6.395 MB / 0.9825 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.0001468/0.4324, allocations: 204.1 kB / 1.226 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.4324, allocations: 23.72 kB / 1.226 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.648e-05/0.4325, allocations: 30.19 kB / 1.226 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.4325, allocations: 11.98 kB / 1.226 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4325, allocations: 7.938 kB / 1.226 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4325, allocations: 0 / 1.226 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4337, allocations: 0.7482 MB / 1.227 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4337, allocations: 0 / 1.227 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.4339, allocations: 39.91 kB / 1.227 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.434, allocations: 32.78 kB / 1.227 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4341, allocations: 0 / 1.227 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.4351, allocations: 1.422 MB / 1.228 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4352, allocations: 8.188 kB / 1.228 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.4358, allocations: 367.4 kB / 1.229 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.4359, allocations: 116.8 kB / 1.229 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.436, allocations: 4 kB / 1.229 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4361, allocations: 15.98 kB / 1.229 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.4362, allocations: 19.97 kB / 1.229 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.4362, allocations: 7.938 kB / 1.229 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001835/0.4364, allocations: 178 kB / 1.229 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4364, allocations: 0 / 1.229 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006144/0.437, allocations: 147.5 kB / 1.229 GB, free: 2.777 MB / 0.9825 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.0001432/0.4372, allocations: 113.6 kB / 1.229 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.4383, allocations: 486.4 kB / 1.23 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.4383, allocations: 5.562 kB / 1.23 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.4387, allocations: 218.7 kB / 1.23 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.4391, allocations: 72.38 kB / 1.23 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.4401, allocations: 0.5596 MB / 1.23 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4406, allocations: 0.8035 MB / 1.231 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.4408, allocations: 66.31 kB / 1.231 GB, free: 384 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.4409, allocations: 19.44 kB / 1.231 GB, free: 364 kB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.4409, allocations: 7.938 kB / 1.231 GB, free: 356 kB / 0.9825 GB Notification: Performance of Templates: time 0.008443/0.4494, allocations: 3.569 MB / 1.235 GB, free: 12.81 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_VariableLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.VariableLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches