Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Templates.Components.Validation.Sensors.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: "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_10_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_10_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01003/0.01003, allocations: 99.41 kB / 15.73 MB, free: 6.004 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.001214/0.001214, allocations: 191.6 kB / 16.67 MB, free: 5.93 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.557/2.557, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.89 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.196, allocations: 151.6 MB / 1.166 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.301/1.497, allocations: 261.9 MB / 1.422 GB, free: 12.95 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03318/1.53, allocations: 19.12 MB / 1.441 GB, free: 9.766 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/1.533, allocations: 51.69 kB / 1.441 GB, free: 9.715 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/1.536, allocations: 0.7569 MB / 1.441 GB, free: 8.953 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006318/1.542, allocations: 1.9 MB / 1.443 GB, free: 7.047 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/1.547, allocations: 1.478 MB / 1.445 GB, free: 5.57 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005357/1.553, allocations: 3.086 MB / 1.448 GB, free: 2.473 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/1.555, allocations: 1.246 MB / 1.449 GB, free: 1.203 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009878/1.565, allocations: 3.279 MB / 1.452 GB, free: 13.92 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/1.568, allocations: 0.988 MB / 1.453 GB, free: 12.92 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005662/1.568, allocations: 100 kB / 1.453 GB, free: 12.82 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004134/1.572, allocations: 1.52 MB / 1.455 GB, free: 11.3 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008403/1.573, allocations: 430.6 kB / 1.455 GB, free: 10.88 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002892/1.576, allocations: 0.6959 MB / 1.456 GB, free: 10.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008345/1.585, allocations: 2.059 MB / 1.458 GB, free: 8.113 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/1.585, allocations: 0 / 1.458 GB, free: 8.113 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.677e-06/1.585, allocations: 0 / 1.458 GB, free: 8.113 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001517/1.585, allocations: 0 / 1.458 GB, free: 8.113 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005595/1.59, allocations: 1.614 MB / 1.459 GB, free: 6.441 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 7.136e-05/1.59, allocations: 20.91 kB / 1.459 GB, free: 6.422 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000473/1.591, allocations: 143.7 kB / 1.459 GB, free: 6.273 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/1.593, allocations: 282.9 kB / 1.46 GB, free: 5.996 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/1.596, allocations: 0.8673 MB / 1.461 GB, free: 5.086 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-05/1.596, allocations: 85.92 kB / 1.461 GB, free: 5.004 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/1.596, allocations: 92 kB / 1.461 GB, free: 4.914 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/1.598, allocations: 1.003 MB / 1.462 GB, free: 3.844 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.598, allocations: 0 / 1.462 GB, free: 3.844 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/1.598, allocations: 36 kB / 1.462 GB, free: 3.809 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/1.598, allocations: 24 kB / 1.462 GB, free: 3.785 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/1.6, allocations: 0.6479 MB / 1.462 GB, free: 3.141 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006454/1.606, allocations: 4.71 MB / 1.467 GB, free: 14.1 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/1.607, allocations: 254.8 kB / 1.467 GB, free: 13.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/1.607, allocations: 140.8 kB / 1.467 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/1.608, allocations: 295.2 kB / 1.468 GB, free: 13.36 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.608, allocations: 42.56 kB / 1.468 GB, free: 13.3 MB / 1.201 GB Notification: Performance of pre-optimization done (n=29): time 2.164e-06/1.608, allocations: 0 / 1.468 GB, free: 13.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.001176/1.609, allocations: 492.7 kB / 1.468 GB, free: 12.82 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.609, allocations: 55.41 kB / 1.468 GB, free: 12.75 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/1.611, allocations: 1.083 MB / 1.469 GB, free: 11.66 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/1.611, allocations: 29.7 kB / 1.469 GB, free: 11.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/1.611, allocations: 0.6061 MB / 1.47 GB, free: 11.01 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/1.612, allocations: 111 kB / 1.47 GB, free: 10.9 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/1.612, allocations: 118.2 kB / 1.47 GB, free: 10.78 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002038/1.612, allocations: 326 kB / 1.47 GB, free: 10.46 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/1.612, allocations: 147 kB / 1.471 GB, free: 10.31 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/1.613, allocations: 429.3 kB / 1.471 GB, free: 9.766 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/1.614, allocations: 0.5352 MB / 1.472 GB, free: 9.129 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.614, allocations: 0 / 1.472 GB, free: 9.129 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0012/1.615, allocations: 0.6296 MB / 1.472 GB, free: 8.492 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.615, allocations: 15.94 kB / 1.472 GB, free: 8.477 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.615, allocations: 4 kB / 1.472 GB, free: 8.473 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.615, allocations: 12 kB / 1.472 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.616, allocations: 179.8 kB / 1.472 GB, free: 8.285 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/1.618, allocations: 2.36 MB / 1.475 GB, free: 5.832 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008659/1.618, allocations: 87.34 kB / 1.475 GB, free: 5.746 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/1.618, allocations: 31.94 kB / 1.475 GB, free: 5.715 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006739/1.619, allocations: 365.1 kB / 1.475 GB, free: 5.355 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004893/1.62, allocations: 425.6 kB / 1.476 GB, free: 4.812 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006867/1.62, allocations: 0.5257 MB / 1.476 GB, free: 4.184 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.762e-06/1.62, allocations: 0 / 1.476 GB, free: 4.184 MB / 1.201 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001172/1.622, allocations: 0.6313 MB / 1.477 GB, free: 3.547 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.622, allocations: 10.81 kB / 1.477 GB, free: 3.539 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.622, allocations: 8 kB / 1.477 GB, free: 3.531 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/1.622, allocations: 12 kB / 1.477 GB, free: 3.52 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/1.622, allocations: 123.8 kB / 1.477 GB, free: 3.398 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.622, allocations: 19.88 kB / 1.477 GB, free: 3.379 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/1.623, allocations: 55.64 kB / 1.477 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/1.623, allocations: 36.22 kB / 1.477 GB, free: 3.289 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002316/1.623, allocations: 212.1 kB / 1.477 GB, free: 3.074 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/1.623, allocations: 119.2 kB / 1.477 GB, free: 2.957 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008572/1.624, allocations: 400.9 kB / 1.478 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.624, allocations: 4 kB / 1.478 GB, free: 2.551 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/1.624, allocations: 7.938 kB / 1.478 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/1.624, allocations: 0 / 1.478 GB, free: 2.543 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/1.627, allocations: 1.291 MB / 1.479 GB, free: 1.168 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/1.627, allocations: 12 kB / 1.479 GB, free: 1.156 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/1.628, allocations: 87.89 kB / 1.479 GB, free: 1.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/1.628, allocations: 4 kB / 1.479 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/1.628, allocations: 8 kB / 1.479 GB, free: 1.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001518/1.629, allocations: 2.345 MB / 1.481 GB, free: 14.62 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.629, allocations: 12.03 kB / 1.481 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.63, allocations: 0.6737 MB / 1.482 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/1.631, allocations: 224.2 kB / 1.482 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/1.631, allocations: 12 kB / 1.482 GB, free: 13.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/1.631, allocations: 11.98 kB / 1.482 GB, free: 13.63 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/1.631, allocations: 23.98 kB / 1.482 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/1.632, allocations: 12 kB / 1.482 GB, free: 13.59 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00128/1.633, allocations: 0.7447 MB / 1.483 GB, free: 12.84 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.21e-07/1.633, allocations: 0 / 1.483 GB, free: 12.84 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001869/1.635, allocations: 495.2 kB / 1.483 GB, free: 12.36 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (hum.senMasFra.X,ent.senSpeEnt.h_out,tem.senTem.T) * 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/1.637, allocations: 1.321 MB / 1.485 GB, free: 10.99 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001838/1.638, allocations: 0.6846 MB / 1.485 GB, free: 10.31 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.638, allocations: 0 / 1.485 GB, free: 10.31 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/1.639, allocations: 172.4 kB / 1.486 GB, free: 10.14 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.642, allocations: 0.5797 MB / 1.486 GB, free: 9.574 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.654, allocations: 7.919 MB / 1.494 GB, free: 1.258 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009422/1.655, allocations: 1.107 MB / 1.495 GB, free: 124 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001038/1.656, allocations: 241.4 kB / 1.495 GB, free: 15.88 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/1.657, allocations: 415.3 kB / 1.496 GB, free: 15.48 MB / 1.232 GB Notification: Performance of SimCode: time 1.323e-06/1.657, allocations: 0 / 1.496 GB, free: 15.48 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06715/1.724, allocations: 29.62 MB / 1.524 GB, free: 2.23 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/15.08, allocations: 8.656 kB / 1.524 GB, free: 2.223 MB / 1.248 GB (rm -f Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Templates_Components_Validation_Sensors.fmu > Buildings_10_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Templates.Components.Validation.Sensors_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches