Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 117.4 kB / 16.42 MB, free: 6.465 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.001924/0.001924, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.385/1.385, 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.801/2.801, allocations: 469.4 MB / 0.7428 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.84 kB / 1.065 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 159.1 MB / 1.221 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.007018/1.069, allocations: 3.833 MB / 1.225 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003474/1.073, allocations: 1.729 MB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/1.073, allocations: 11.94 kB / 1.226 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/1.075, allocations: 494.1 kB / 1.227 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007174/1.076, allocations: 226.9 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007633/1.077, allocations: 209.6 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000798/1.077, allocations: 478.4 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007023/1.078, allocations: 369 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/1.079, allocations: 191.4 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005821/1.079, allocations: 219.2 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/1.079, allocations: 28 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006341/1.08, allocations: 251.5 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/1.08, allocations: 131.6 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/1.08, allocations: 171.2 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/1.082, allocations: 0.5002 MB / 1.229 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.082, allocations: 0 / 1.229 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.529e-06/1.082, allocations: 0 / 1.229 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.245e-05/1.082, allocations: 3.938 kB / 1.229 GB, free: 9.5 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001844/1.083, allocations: 0.6199 MB / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/1.084, allocations: 20.61 kB / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.085, allocations: 128.3 kB / 1.23 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/1.085, allocations: 296.1 kB / 1.23 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/1.085, allocations: 25.03 kB / 1.23 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/1.085, allocations: 28.38 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/1.086, allocations: 463.9 kB / 1.231 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.086, allocations: 7.938 kB / 1.231 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/1.086, allocations: 12 kB / 1.231 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/1.086, allocations: 28.55 kB / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/1.087, allocations: 321.9 kB / 1.231 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/1.09, allocations: 2.181 MB / 1.233 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/1.091, allocations: 255.8 kB / 1.234 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/1.091, allocations: 100.8 kB / 1.234 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/1.091, allocations: 4 kB / 1.234 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/1.091, allocations: 42.66 kB / 1.234 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=14): time 3.045e-06/1.091, allocations: 3.938 kB / 1.234 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14): time 0.0007334/1.092, allocations: 302.7 kB / 1.234 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.092, allocations: 55.41 kB / 1.234 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/1.092, allocations: 270.5 kB / 1.234 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/1.092, allocations: 33.7 kB / 1.234 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/1.092, allocations: 203.8 kB / 1.235 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/1.092, allocations: 51.3 kB / 1.235 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.092, allocations: 45.84 kB / 1.235 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.093, allocations: 342.8 kB / 1.235 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/1.093, allocations: 56.44 kB / 1.235 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/1.093, allocations: 144 kB / 1.235 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/1.093, allocations: 213.8 kB / 1.235 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.093, allocations: 4 kB / 1.235 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004751/1.094, allocations: 262.2 kB / 1.236 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.094, allocations: 8 kB / 1.236 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.094, allocations: 3.984 kB / 1.236 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/1.094, allocations: 28.84 kB / 1.236 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/1.094, allocations: 43.92 kB / 1.236 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/1.095, allocations: 1.426 MB / 1.237 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/1.096, allocations: 23.69 kB / 1.237 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/1.096, allocations: 16.16 kB / 1.237 GB, free: 0.832 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001798/1.096, allocations: 161.8 kB / 1.237 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/1.096, allocations: 27.66 kB / 1.237 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/1.096, allocations: 33.83 kB / 1.237 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.096, allocations: 0 / 1.237 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.096, allocations: 0 / 1.237 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.096, allocations: 112.7 kB / 1.238 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/1.096, allocations: 4 kB / 1.238 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/1.096, allocations: 12 kB / 1.238 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/1.096, allocations: 11.92 kB / 1.238 GB, free: 456 kB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004117/1.097, allocations: 245.7 kB / 1.238 GB, free: 200 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004332/1.097, allocations: 374.5 kB / 1.238 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.432e-05/1.097, allocations: 55.98 kB / 1.238 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002015/1.098, allocations: 190 kB / 1.238 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of Backend: time 2.224e-06/1.098, allocations: 0 / 1.238 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.099, allocations: 446.3 kB / 1.239 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001426/1.1, allocations: 0.9808 MB / 1.24 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.009597/1.11, allocations: 3.9 MB / 1.244 GB, free: 10.22 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches