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.001504/0.001504, allocations: 116.2 kB / 16.42 MB, free: 6.504 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.001744/0.001744, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.559/1.559, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 63.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006401/1.019, allocations: 3.863 MB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003319/1.023, allocations: 1.765 MB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/1.023, allocations: 11.94 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0015/1.024, allocations: 450.1 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007873/1.025, allocations: 250.8 kB / 1.215 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007193/1.026, allocations: 251 kB / 1.215 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007475/1.027, allocations: 498.4 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/1.028, allocations: 368.7 kB / 1.216 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/1.028, allocations: 199.3 kB / 1.216 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004854/1.028, allocations: 235.1 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/1.028, allocations: 32 kB / 1.216 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/1.029, allocations: 175.6 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/1.029, allocations: 143.6 kB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/1.029, allocations: 175.1 kB / 1.217 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00065/1.03, allocations: 488.3 kB / 1.217 GB, free: 4.797 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.03, allocations: 4 kB / 1.217 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.913e-06/1.03, allocations: 4 kB / 1.217 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.396e-05/1.03, allocations: 0 / 1.217 GB, free: 4.789 MB / 0.9356 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.00127/1.031, allocations: 0.6626 MB / 1.218 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.031, allocations: 8.031 kB / 1.218 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006003/1.032, allocations: 84.41 kB / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/1.032, allocations: 307.5 kB / 1.218 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/1.032, allocations: 25.02 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/1.032, allocations: 24.38 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/1.033, allocations: 486 kB / 1.219 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/1.033, allocations: 0 / 1.219 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/1.033, allocations: 15.98 kB / 1.219 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/1.033, allocations: 40.62 kB / 1.219 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/1.034, allocations: 366.2 kB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/1.036, allocations: 2.033 MB / 1.221 GB, free: 460 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/1.037, allocations: 214.6 kB / 1.221 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/1.037, allocations: 160.8 kB / 1.221 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/1.037, allocations: 3.984 kB / 1.221 GB, free: 68 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.038, allocations: 34.56 kB / 1.221 GB, free: 24 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.983e-06/1.038, allocations: 0 / 1.221 GB, free: 24 kB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.001134/1.039, allocations: 425.2 kB / 1.222 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/1.039, allocations: 51.41 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/1.039, allocations: 258.7 kB / 1.222 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/1.039, allocations: 33.7 kB / 1.222 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/1.039, allocations: 207.6 kB / 1.222 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/1.039, allocations: 70.98 kB / 1.222 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.95e-05/1.039, allocations: 61.89 kB / 1.222 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.039, allocations: 334.8 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/1.04, allocations: 101.9 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/1.04, allocations: 203.6 kB / 1.223 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/1.041, allocations: 311.2 kB / 1.223 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.041, allocations: 0 / 1.223 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007882/1.041, allocations: 357.9 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.042, allocations: 4 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.042, allocations: 4 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/1.042, allocations: 36.83 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/1.042, allocations: 76.08 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/1.043, allocations: 1.43 MB / 1.225 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/1.044, allocations: 43.66 kB / 1.225 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/1.044, allocations: 16 kB / 1.225 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003443/1.044, allocations: 208.7 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000336/1.044, allocations: 233.5 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005903/1.045, allocations: 315.1 kB / 1.226 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/1.045, allocations: 0 / 1.226 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007064/1.046, allocations: 336.9 kB / 1.226 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/1.046, allocations: 4 kB / 1.226 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.046, allocations: 8.484 kB / 1.226 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/1.046, allocations: 12 kB / 1.226 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/1.046, allocations: 71.89 kB / 1.226 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.046, allocations: 7.938 kB / 1.226 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/1.046, allocations: 39.75 kB / 1.226 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/1.046, allocations: 12 kB / 1.226 GB, free: 10.38 MB / 0.9512 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.0001414/1.047, allocations: 196.1 kB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/1.047, allocations: 35.66 kB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/1.047, allocations: 30.17 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.047, allocations: 0 / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.047, allocations: 0 / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/1.047, allocations: 120.7 kB / 1.227 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/1.047, allocations: 4 kB / 1.227 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/1.047, allocations: 15.98 kB / 1.227 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/1.047, allocations: 15.91 kB / 1.227 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007534/1.048, allocations: 341.4 kB / 1.227 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008489/1.049, allocations: 494 kB / 1.228 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002295/1.049, allocations: 91.86 kB / 1.228 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001778/1.049, allocations: 186 kB / 1.228 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of Backend: time 5.21e-07/1.049, allocations: 0 / 1.228 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00148/1.051, allocations: 0.5862 MB / 1.228 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001297/1.052, allocations: 1.027 MB / 1.229 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.009625/1.062, allocations: 4.862 MB / 1.234 GB, free: 2.328 MB / 0.9512 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/jenkins1/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