Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Templates_Components_Validation_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Validation.Sensors,fileNamePrefix="Buildings_latest_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.005399/0.005399, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001295/0.001295, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.33, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.8337/1.164, allocations: 262 MB / 1.498 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02206/1.186, allocations: 19.12 MB / 1.516 GB, free: 13.77 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/1.187, allocations: 43.75 kB / 1.516 GB, free: 13.73 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/1.189, allocations: 0.753 MB / 1.517 GB, free: 12.97 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00402/1.193, allocations: 1.792 MB / 1.519 GB, free: 11.17 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/1.197, allocations: 1.463 MB / 1.52 GB, free: 9.711 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003266/1.2, allocations: 3.042 MB / 1.523 GB, free: 6.66 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/1.201, allocations: 1.241 MB / 1.525 GB, free: 5.402 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006887/1.208, allocations: 3.308 MB / 1.528 GB, free: 2.09 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/1.209, allocations: 0.953 MB / 1.529 GB, free: 1.133 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/1.21, allocations: 104 kB / 1.529 GB, free: 1.031 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/1.212, allocations: 1.508 MB / 1.53 GB, free: 15.52 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/1.213, allocations: 422.7 kB / 1.531 GB, free: 15.11 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/1.213, allocations: 0.7037 MB / 1.531 GB, free: 14.4 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/1.216, allocations: 2.063 MB / 1.533 GB, free: 12.33 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.216, allocations: 0 / 1.533 GB, free: 12.33 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.473e-06/1.216, allocations: 3.938 kB / 1.533 GB, free: 12.32 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.105e-05/1.216, allocations: 4 kB / 1.533 GB, free: 12.32 MB / 1.232 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.002123/1.218, allocations: 1.629 MB / 1.535 GB, free: 10.63 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.218, allocations: 15.95 kB / 1.535 GB, free: 10.62 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/1.218, allocations: 144.2 kB / 1.535 GB, free: 10.47 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/1.22, allocations: 282.9 kB / 1.535 GB, free: 10.19 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/1.221, allocations: 0.8906 MB / 1.536 GB, free: 9.258 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.963e-05/1.221, allocations: 73.94 kB / 1.536 GB, free: 9.188 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.221, allocations: 99.12 kB / 1.536 GB, free: 9.094 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.223, allocations: 1.003 MB / 1.537 GB, free: 8.023 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/1.223, allocations: 3.938 kB / 1.537 GB, free: 8.02 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/1.223, allocations: 48 kB / 1.537 GB, free: 7.973 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/1.223, allocations: 20 kB / 1.537 GB, free: 7.953 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/1.224, allocations: 0.644 MB / 1.538 GB, free: 7.309 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004343/1.228, allocations: 4.701 MB / 1.543 GB, free: 2.273 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/1.229, allocations: 264.3 kB / 1.543 GB, free: 2.012 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/1.229, allocations: 128.8 kB / 1.543 GB, free: 1.883 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/1.229, allocations: 307.2 kB / 1.543 GB, free: 1.527 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.229, allocations: 38.5 kB / 1.543 GB, free: 1.48 MB / 1.232 GB Notification: Performance of pre-optimization done (n=29): time 3.497e-06/1.229, allocations: 7.984 kB / 1.543 GB, free: 1.473 MB / 1.232 GB Notification: Performance of matching and sorting (n=29): time 0.0008925/1.23, allocations: 488.7 kB / 1.544 GB, free: 0.9883 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/1.23, allocations: 55.41 kB / 1.544 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.232, allocations: 1.095 MB / 1.545 GB, free: 15.82 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/1.232, allocations: 37.69 kB / 1.545 GB, free: 15.77 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/1.232, allocations: 0.6063 MB / 1.546 GB, free: 15.16 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/1.232, allocations: 111 kB / 1.546 GB, free: 15.05 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.232, allocations: 118.2 kB / 1.546 GB, free: 14.93 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.233, allocations: 329.9 kB / 1.546 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/1.233, allocations: 147 kB / 1.546 GB, free: 14.46 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/1.233, allocations: 421.5 kB / 1.547 GB, free: 13.92 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/1.234, allocations: 0.5379 MB / 1.547 GB, free: 13.28 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.234, allocations: 4 kB / 1.547 GB, free: 13.28 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009109/1.235, allocations: 0.6254 MB / 1.548 GB, free: 12.64 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.235, allocations: 8 kB / 1.548 GB, free: 12.64 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.235, allocations: 11.98 kB / 1.548 GB, free: 12.62 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.235, allocations: 8 kB / 1.548 GB, free: 12.62 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/1.236, allocations: 178.8 kB / 1.548 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/1.237, allocations: 2.36 MB / 1.55 GB, free: 9.992 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/1.238, allocations: 91.28 kB / 1.55 GB, free: 9.902 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.238, allocations: 28 kB / 1.55 GB, free: 9.875 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000495/1.238, allocations: 373.1 kB / 1.551 GB, free: 9.504 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004476/1.239, allocations: 425.7 kB / 1.551 GB, free: 8.961 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006347/1.239, allocations: 0.523 MB / 1.552 GB, free: 8.336 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/1.239, allocations: 11.94 kB / 1.552 GB, free: 8.324 MB / 1.248 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0008832/1.24, allocations: 0.619 MB / 1.552 GB, free: 7.699 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/1.24, allocations: 8 kB / 1.552 GB, free: 7.691 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.24, allocations: 8 kB / 1.552 GB, free: 7.684 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.24, allocations: 16.06 kB / 1.552 GB, free: 7.668 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/1.241, allocations: 127.8 kB / 1.552 GB, free: 7.543 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.241, allocations: 16.53 kB / 1.553 GB, free: 7.527 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/1.241, allocations: 59.72 kB / 1.553 GB, free: 7.469 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/1.241, allocations: 31.98 kB / 1.553 GB, free: 7.438 MB / 1.248 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.0001607/1.241, allocations: 216.1 kB / 1.553 GB, free: 7.219 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/1.241, allocations: 123.2 kB / 1.553 GB, free: 7.098 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006939/1.242, allocations: 414 kB / 1.553 GB, free: 6.684 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.242, allocations: 4 kB / 1.553 GB, free: 6.68 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.242, allocations: 0 / 1.553 GB, free: 6.68 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/1.242, allocations: 3.938 kB / 1.553 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/1.244, allocations: 1.297 MB / 1.555 GB, free: 5.297 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.244, allocations: 0 / 1.555 GB, free: 5.297 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/1.244, allocations: 87.88 kB / 1.555 GB, free: 5.211 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.244, allocations: 4 kB / 1.555 GB, free: 5.207 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/1.244, allocations: 16 kB / 1.555 GB, free: 5.191 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/1.246, allocations: 2.348 MB / 1.557 GB, free: 2.75 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.246, allocations: 7.969 kB / 1.557 GB, free: 2.742 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/1.247, allocations: 0.6804 MB / 1.558 GB, free: 2.016 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/1.247, allocations: 220.3 kB / 1.558 GB, free: 1.781 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/1.247, allocations: 8 kB / 1.558 GB, free: 1.773 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/1.247, allocations: 12 kB / 1.558 GB, free: 1.762 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/1.247, allocations: 27.91 kB / 1.558 GB, free: 1.734 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/1.247, allocations: 12 kB / 1.558 GB, free: 1.723 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000917/1.248, allocations: 0.7493 MB / 1.559 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.41e-07/1.248, allocations: 0 / 1.559 GB, free: 0.9688 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001109/1.249, allocations: 495.2 kB / 1.559 GB, free: 496 kB / 1.248 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.001488/1.251, allocations: 1.334 MB / 1.56 GB, free: 15.1 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001453/1.252, allocations: 0.6675 MB / 1.561 GB, free: 14.44 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.252, allocations: 0.75 kB / 1.561 GB, free: 14.44 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/1.253, allocations: 173.7 kB / 1.561 GB, free: 14.27 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.255, allocations: 0.6158 MB / 1.562 GB, free: 13.67 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/1.265, allocations: 7.986 MB / 1.57 GB, free: 5.277 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007058/1.266, allocations: 1.103 MB / 1.571 GB, free: 4.145 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007329/1.266, allocations: 241.6 kB / 1.571 GB, free: 3.906 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/1.267, allocations: 423.3 kB / 1.571 GB, free: 3.492 MB / 1.264 GB Notification: Performance of SimCode: time 6.61e-07/1.267, allocations: 4 kB / 1.571 GB, free: 3.488 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.77/4.037, allocations: 30.18 MB / 1.601 GB, free: 5.742 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/19.65, allocations: 15.88 kB / 1.601 GB, free: 5.727 MB / 1.295 GB (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Validation_Sensors_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Validation_Sensors.fmu > Buildings_latest_Buildings.Templates.Components.Validation.Sensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Sensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches