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.006382/0.006389, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.00119/0.00119, allocations: 190.4 kB / 16.67 MB, free: 5.934 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.428/1.428, allocations: 222.9 MB / 240.4 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.492/2.492, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.88 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9955/0.9967, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004297/1.001, allocations: 2.509 MB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001479/1.003, allocations: 0.7828 MB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/1.003, allocations: 8 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/1.004, allocations: 0.5335 MB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003425/1.004, allocations: 103.5 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/1.005, allocations: 113.3 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002898/1.005, allocations: 199.4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/1.005, allocations: 154.1 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/1.006, allocations: 83.75 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/1.006, allocations: 95.64 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/1.006, allocations: 12 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/1.006, allocations: 103.8 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.127e-05/1.006, allocations: 55.88 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/1.006, allocations: 71.61 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/1.007, allocations: 231.7 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.007, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.132e-06/1.007, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.135e-05/1.007, allocations: 0 / 1.171 GB, free: 14.83 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.0006718/1.008, allocations: 451 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.008, allocations: 12.92 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/1.008, allocations: 52.73 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/1.008, allocations: 216.1 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.008, allocations: 8.656 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/1.008, allocations: 12.38 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/1.009, allocations: 240.8 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.009, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/1.009, allocations: 8 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/1.009, allocations: 20.2 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/1.009, allocations: 144.7 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/1.01, allocations: 1.131 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/1.01, allocations: 42.5 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/1.011, allocations: 20.86 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/1.011, allocations: 0 / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.011, allocations: 30.56 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/1.011, allocations: 4 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002091/1.011, allocations: 81.61 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.011, allocations: 51.41 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/1.011, allocations: 174.9 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.011, allocations: 25.7 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/1.011, allocations: 151.7 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/1.011, allocations: 15.89 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/1.011, allocations: 33.67 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.011, allocations: 318.8 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/1.011, allocations: 28.84 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/1.012, allocations: 89.44 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/1.012, allocations: 121.3 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.012, allocations: 3.938 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001945/1.012, allocations: 137.4 kB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.012, allocations: 8 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.012, allocations: 4 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.012, allocations: 7.938 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.012, allocations: 27.92 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.012, allocations: 0 / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/1.012, allocations: 15.89 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/1.012, allocations: 12.3 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.549e-05/1.012, allocations: 124.1 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.641e-05/1.012, allocations: 93.31 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001757/1.013, allocations: 121.3 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/1.013, allocations: 3.938 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001794/1.013, allocations: 133.6 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/1.013, allocations: 8 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/1.013, allocations: 48 / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/1.013, allocations: 8.297 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/1.013, allocations: 27.98 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/1.013, allocations: 11.88 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/1.013, allocations: 11.89 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/1.013, allocations: 8 kB / 1.176 GB, free: 10.18 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 9.176e-05/1.013, allocations: 184.2 kB / 1.176 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/1.013, allocations: 7.953 kB / 1.176 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/1.013, allocations: 16.94 kB / 1.176 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.013, allocations: 3.938 kB / 1.176 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.013, allocations: 4 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.013, allocations: 4 kB / 1.176 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/1.014, allocations: 473 kB / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/1.014, allocations: 0 / 1.176 GB, free: 9.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.582e-05/1.014, allocations: 11.98 kB / 1.176 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.014, allocations: 0 / 1.176 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.014, allocations: 4.125 kB / 1.176 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.014, allocations: 12 kB / 1.176 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.014, allocations: 3.938 kB / 1.176 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/1.014, allocations: 107.6 kB / 1.176 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/1.014, allocations: 93 kB / 1.176 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/1.014, allocations: 8 kB / 1.176 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/1.014, allocations: 0 / 1.176 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/1.014, allocations: 4 kB / 1.176 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/1.014, allocations: 4 kB / 1.176 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001038/1.014, allocations: 132.8 kB / 1.177 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.014, allocations: 0 / 1.177 GB, free: 8.996 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003616/1.015, allocations: 55.89 kB / 1.177 GB, free: 8.941 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001414/1.015, allocations: 99.25 kB / 1.177 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002419/1.015, allocations: 111.6 kB / 1.177 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.015, allocations: 0 / 1.177 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/1.015, allocations: 25.17 kB / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/1.015, allocations: 17.06 kB / 1.177 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/1.016, allocations: 287 kB / 1.177 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.016, allocations: 0.7202 MB / 1.178 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.13e-05/1.016, allocations: 28.62 kB / 1.178 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/1.017, allocations: 11.44 kB / 1.178 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/1.017, allocations: 3.938 kB / 1.178 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of Templates: time 0.003716/1.02, allocations: 0.8738 MB / 1.179 GB, free: 6.715 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/jenkins/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