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.001233/0.001233, allocations: 113 kB / 16.42 MB, free: 6.512 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.00127/0.00127, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.677/2.677, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.89 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.925, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005711/0.9308, allocations: 3.837 MB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.9336, allocations: 1.729 MB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002917/0.934, allocations: 8 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.9355, allocations: 0.4918 MB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006232/0.9361, allocations: 218.9 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.9367, allocations: 219.5 kB / 1.174 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.9373, allocations: 474.4 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005898/0.9379, allocations: 360.9 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.9383, allocations: 199.3 kB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.9387, allocations: 219.2 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.547e-05/0.9388, allocations: 28 kB / 1.175 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/0.9393, allocations: 243.5 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.9395, allocations: 127.7 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.9397, allocations: 171.1 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006897/0.9404, allocations: 0.4964 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.9404, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9404, allocations: 3.938 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.9404, allocations: 0 / 1.176 GB, free: 11.08 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.001159/0.9416, allocations: 0.6316 MB / 1.176 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.9416, allocations: 8.922 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/0.9426, allocations: 136.4 kB / 1.177 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.9431, allocations: 295.6 kB / 1.177 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.9431, allocations: 25.02 kB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.9431, allocations: 24.38 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.9438, allocations: 471.9 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.9438, allocations: 0 / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.9439, allocations: 19.88 kB / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.9439, allocations: 32.55 kB / 1.177 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.9444, allocations: 313.9 kB / 1.178 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.9468, allocations: 2.185 MB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.9472, allocations: 247.8 kB / 1.18 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.9475, allocations: 110.3 kB / 1.18 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.9475, allocations: 4 kB / 1.18 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.9476, allocations: 34.56 kB / 1.18 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.9476, allocations: 4 kB / 1.18 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0006678/0.9483, allocations: 303.5 kB / 1.181 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.9483, allocations: 51.41 kB / 1.181 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.9486, allocations: 270.5 kB / 1.181 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.9487, allocations: 29.7 kB / 1.181 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.9488, allocations: 203.9 kB / 1.181 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.9489, allocations: 51.2 kB / 1.181 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.949, allocations: 53.94 kB / 1.181 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9492, allocations: 334.8 kB / 1.181 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.9493, allocations: 60.38 kB / 1.182 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.9495, allocations: 148 kB / 1.182 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.9498, allocations: 211 kB / 1.182 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9498, allocations: 0 / 1.182 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004853/0.9503, allocations: 268.2 kB / 1.182 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.9503, allocations: 4 kB / 1.182 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.9503, allocations: 4 kB / 1.182 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.9505, allocations: 33.2 kB / 1.182 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.9507, allocations: 51.92 kB / 1.182 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.9519, allocations: 1.418 MB / 1.184 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.9521, allocations: 27.69 kB / 1.184 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.9521, allocations: 12 kB / 1.184 GB, free: 2.41 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.0001756/0.9523, allocations: 165.8 kB / 1.184 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.9524, allocations: 27.66 kB / 1.184 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.9524, allocations: 25.83 kB / 1.184 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9525, allocations: 4.062 kB / 1.184 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9525, allocations: 0 / 1.184 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.9526, allocations: 120.7 kB / 1.184 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.9526, allocations: 4 kB / 1.184 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.9528, allocations: 12.06 kB / 1.184 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.9528, allocations: 7.984 kB / 1.184 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003852/0.9532, allocations: 259.1 kB / 1.184 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003979/0.9536, allocations: 375.7 kB / 1.185 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.064e-05/0.9537, allocations: 47.95 kB / 1.185 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002021/0.9539, allocations: 197.9 kB / 1.185 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of Backend: time 6.91e-07/0.9539, allocations: 0 / 1.185 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001192/0.9551, allocations: 437.2 kB / 1.185 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001303/0.9564, allocations: 0.9796 MB / 1.186 GB, free: 15.66 MB / 0.92 GB Notification: Performance of Templates: time 0.01066/0.9671, allocations: 3.895 MB / 1.19 GB, free: 11.79 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