Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen1.I",fileNamePrefix="Buildings_10_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_10_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.001485/0.001485, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001577/0.001577, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 59.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.9857, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006484/0.9922, allocations: 3.837 MB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.9953, allocations: 1.733 MB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.9957, allocations: 11.94 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.9973, allocations: 495.1 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007695/0.998, allocations: 222.9 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007115/0.9988, allocations: 217 kB / 1.174 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007442/0.9995, allocations: 474.4 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/1, allocations: 366.1 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/1.001, allocations: 195.3 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004839/1.001, allocations: 219.2 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-05/1.001, allocations: 28 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005152/1.002, allocations: 243.4 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001589/1.002, allocations: 127.7 kB / 1.175 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/1.002, allocations: 175.2 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007316/1.003, allocations: 0.5055 MB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.003, allocations: 0 / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.252e-06/1.003, allocations: 0 / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.976e-05/1.003, allocations: 4 kB / 1.176 GB, free: 11.01 MB / 0.9044 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.001262/1.004, allocations: 0.6349 MB / 1.176 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.004, allocations: 8.922 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/1.005, allocations: 144.5 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/1.006, allocations: 299.7 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/1.006, allocations: 21.03 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/1.006, allocations: 24.38 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/1.007, allocations: 471.9 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.007, allocations: 0 / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/1.007, allocations: 12 kB / 1.177 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.699e-05/1.007, allocations: 28.55 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/1.007, allocations: 321.9 kB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/1.01, allocations: 2.181 MB / 1.18 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/1.01, allocations: 247.8 kB / 1.18 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/1.01, allocations: 112.7 kB / 1.18 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/1.01, allocations: 4 kB / 1.18 GB, free: 6.172 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.01, allocations: 38.56 kB / 1.18 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/1.01, allocations: 0 / 1.18 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0006131/1.011, allocations: 297.2 kB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/1.011, allocations: 51.41 kB / 1.181 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/1.011, allocations: 278.4 kB / 1.181 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.011, allocations: 29.7 kB / 1.181 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/1.012, allocations: 220.2 kB / 1.181 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/1.012, allocations: 47.64 kB / 1.181 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/1.012, allocations: 41.91 kB / 1.181 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.012, allocations: 338.8 kB / 1.182 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.499e-05/1.012, allocations: 56.44 kB / 1.182 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/1.012, allocations: 144.1 kB / 1.182 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/1.012, allocations: 214.9 kB / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.012, allocations: 0 / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004602/1.013, allocations: 276.4 kB / 1.182 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.013, allocations: 4 kB / 1.182 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.013, allocations: 4 kB / 1.182 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001901/1.013, allocations: 33.22 kB / 1.182 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/1.013, allocations: 43.92 kB / 1.182 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/1.014, allocations: 1.433 MB / 1.184 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/1.015, allocations: 19.84 kB / 1.184 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.015, allocations: 12 kB / 1.184 GB, free: 2.324 MB / 0.9044 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.0001638/1.015, allocations: 166.2 kB / 1.184 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/1.015, allocations: 31.75 kB / 1.184 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/1.015, allocations: 33.92 kB / 1.184 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.015, allocations: 96 / 1.184 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.015, allocations: 7.938 kB / 1.184 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/1.015, allocations: 105 kB / 1.184 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/1.015, allocations: 4 kB / 1.184 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/1.015, allocations: 11.98 kB / 1.184 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/1.015, allocations: 7.984 kB / 1.184 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003588/1.016, allocations: 253.7 kB / 1.184 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003412/1.016, allocations: 376 kB / 1.185 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.969e-05/1.016, allocations: 45.12 kB / 1.185 GB, free: 1.246 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001762/1.016, allocations: 190 kB / 1.185 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of Backend: time 6.41e-07/1.016, allocations: 0 / 1.185 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.017, allocations: 457 kB / 1.185 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0012/1.019, allocations: 0.983 MB / 1.186 GB, free: 15.57 MB / 0.92 GB Notification: Performance of Templates: time 0.008403/1.027, allocations: 3.896 MB / 1.19 GB, free: 11.7 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Loads_Examples_Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.Resistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches