Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001829/0.001829, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.408/1.408, allocations: 222.9 MB / 241 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.6/2.6, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9625, allocations: 151.6 MB / 1.167 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004899/0.9675, allocations: 2.517 MB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.969, allocations: 0.7789 MB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.9692, allocations: 8 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.9707, allocations: 0.535 MB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.971, allocations: 99.55 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.9714, allocations: 107.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.9718, allocations: 199.4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.9722, allocations: 162.1 kB / 1.172 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.9723, allocations: 87.73 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.9726, allocations: 91.66 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.9726, allocations: 12 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.9729, allocations: 107.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.973, allocations: 59.81 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.478e-05/0.9731, allocations: 75.61 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.9735, allocations: 225.1 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9735, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9735, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.9735, allocations: 0 / 1.172 GB, free: 14.95 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007661/0.9743, allocations: 447.3 kB / 1.173 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.9743, allocations: 8.922 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004309/0.9748, allocations: 40.72 kB / 1.173 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.9751, allocations: 224 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.9751, allocations: 8.656 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.9751, allocations: 16.38 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.9755, allocations: 232.8 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9755, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.9755, allocations: 8 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.9756, allocations: 16.27 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.9759, allocations: 152.6 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.977, allocations: 1.119 MB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.057e-05/0.9771, allocations: 46.5 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.9772, allocations: 24.92 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.9772, allocations: 0 / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.9772, allocations: 34.56 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.9772, allocations: 0 / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002365/0.9775, allocations: 77.52 kB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.9775, allocations: 51.41 kB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.9777, allocations: 178.9 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.9777, allocations: 29.7 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.9778, allocations: 143.4 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.9779, allocations: 7.812 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.9779, allocations: 33.7 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.978, allocations: 326.8 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.9781, allocations: 20.84 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-05/0.9782, allocations: 93.44 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.9784, allocations: 121.3 kB / 1.176 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9784, allocations: 7.938 kB / 1.176 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002148/0.9786, allocations: 133.4 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9786, allocations: 4 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9786, allocations: 4 kB / 1.176 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.9786, allocations: 7.938 kB / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.9788, allocations: 31.86 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.9788, allocations: 4 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.9789, allocations: 23.69 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.9789, allocations: 4.312 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001067/0.979, allocations: 128.1 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.881e-05/0.9791, allocations: 94.23 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001179/0.9792, allocations: 121.2 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.9792, allocations: 0 / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001961/0.9794, allocations: 133.3 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.9795, allocations: 8 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.9795, allocations: 0 / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.9795, allocations: 4 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.9796, allocations: 28.3 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.9796, allocations: 11.88 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/0.9796, allocations: 12 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.9797, allocations: 8 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.9798, allocations: 180.3 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.9798, allocations: 15.81 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.9798, allocations: 12.92 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.9799, allocations: 7.938 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9799, allocations: 0 / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.9799, allocations: 92.95 kB / 1.177 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.98, allocations: 7.938 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.98, allocations: 0 / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.9801, allocations: 3.984 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001172/0.9802, allocations: 133.2 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001609/0.9804, allocations: 242.7 kB / 1.177 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.056e-05/0.9804, allocations: 15.94 kB / 1.177 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001005/0.9805, allocations: 132.9 kB / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of Backend: time 3.1e-07/0.9805, allocations: 0 / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006541/0.9812, allocations: 239.3 kB / 1.177 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007707/0.9819, allocations: 0.7174 MB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.005806/0.9878, allocations: 1.544 MB / 1.179 GB, free: 6.891 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches