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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001221/0.001221, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 191 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.607/2.607, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 68.45 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2805, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.8739/1.154, allocations: 261.9 MB / 1.309 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01839/1.173, allocations: 19.13 MB / 1.327 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/1.175, allocations: 48.84 kB / 1.327 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/1.177, allocations: 0.7461 MB / 1.328 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/1.182, allocations: 1.817 MB / 1.33 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/1.185, allocations: 1.458 MB / 1.331 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004035/1.189, allocations: 3.083 MB / 1.334 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/1.191, allocations: 1.236 MB / 1.336 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007488/1.199, allocations: 3.177 MB / 1.339 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/1.201, allocations: 0.9874 MB / 1.34 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/1.201, allocations: 101.9 kB / 1.34 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/1.204, allocations: 1.513 MB / 1.341 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004702/1.205, allocations: 425.7 kB / 1.342 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.206, allocations: 0.7024 MB / 1.342 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/1.208, allocations: 2.038 MB / 1.344 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.208, allocations: 4 kB / 1.344 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.208, allocations: 0 / 1.344 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.666e-05/1.208, allocations: 0 / 1.344 GB, free: 0.5547 MB / 0.9981 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.002081/1.211, allocations: 1.586 MB / 1.346 GB, free: 15.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.211, allocations: 8.781 kB / 1.346 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/1.211, allocations: 153.8 kB / 1.346 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.212, allocations: 282.5 kB / 1.346 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/1.213, allocations: 0.8194 MB / 1.347 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/1.213, allocations: 69.47 kB / 1.347 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/1.213, allocations: 96.81 kB / 1.347 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/1.215, allocations: 1.006 MB / 1.348 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/1.215, allocations: 6.375 kB / 1.348 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/1.215, allocations: 39.56 kB / 1.348 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/1.215, allocations: 23 kB / 1.348 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/1.216, allocations: 0.6471 MB / 1.349 GB, free: 14.97 MB / 1.014 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.004586/1.22, allocations: 4.737 MB / 1.354 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/1.221, allocations: 248.9 kB / 1.354 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/1.221, allocations: 130.4 kB / 1.354 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005438/1.221, allocations: 305.5 kB / 1.354 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/1.221, allocations: 43.88 kB / 1.354 GB, free: 11.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/1.222, allocations: 0 / 1.354 GB, free: 11.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0008172/1.222, allocations: 479 kB / 1.355 GB, free: 11.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/1.222, allocations: 60.34 kB / 1.355 GB, free: 11.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.223, allocations: 1.102 MB / 1.356 GB, free: 11.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/1.224, allocations: 39.64 kB / 1.356 GB, free: 11.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/1.224, allocations: 0.5924 MB / 1.356 GB, free: 10.96 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.743e-05/1.224, allocations: 111 kB / 1.357 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/1.224, allocations: 117.7 kB / 1.357 GB, free: 10.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.224, allocations: 328.5 kB / 1.357 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/1.225, allocations: 143.8 kB / 1.357 GB, free: 10.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/1.225, allocations: 423.1 kB / 1.357 GB, free: 10.21 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/1.226, allocations: 0.5349 MB / 1.358 GB, free: 9.926 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.226, allocations: 2.688 kB / 1.358 GB, free: 9.926 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007994/1.226, allocations: 0.6252 MB / 1.359 GB, free: 9.824 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.227, allocations: 8.25 kB / 1.359 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.227, allocations: 8.094 kB / 1.359 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.227, allocations: 16.23 kB / 1.359 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/1.227, allocations: 183 kB / 1.359 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/1.228, allocations: 2.363 MB / 1.361 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/1.229, allocations: 83.41 kB / 1.361 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/1.229, allocations: 34.23 kB / 1.361 GB, free: 7.422 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004833/1.23, allocations: 365.9 kB / 1.362 GB, free: 7.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003712/1.23, allocations: 427.1 kB / 1.362 GB, free: 6.992 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005142/1.231, allocations: 0.5306 MB / 1.363 GB, free: 6.703 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.327e-06/1.231, allocations: 3.438 kB / 1.363 GB, free: 6.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.0007719/1.231, allocations: 0.6158 MB / 1.363 GB, free: 6.602 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.231, allocations: 10.12 kB / 1.363 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.231, allocations: 5.5 kB / 1.363 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/1.231, allocations: 10.81 kB / 1.363 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/1.232, allocations: 125.8 kB / 1.363 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/1.232, allocations: 17.11 kB / 1.363 GB, free: 6.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/1.232, allocations: 49.36 kB / 1.363 GB, free: 6.586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/1.232, allocations: 30.2 kB / 1.363 GB, free: 6.586 MB / 1.014 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.0001739/1.233, allocations: 229.1 kB / 1.364 GB, free: 6.395 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.233, allocations: 118 kB / 1.364 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006808/1.233, allocations: 407.3 kB / 1.364 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.233, allocations: 2.438 kB / 1.364 GB, free: 6.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.233, allocations: 4 kB / 1.364 GB, free: 6.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.233, allocations: 9.609 kB / 1.364 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/1.235, allocations: 1.299 MB / 1.365 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.235, allocations: 3.594 kB / 1.365 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/1.235, allocations: 87.39 kB / 1.365 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.236, allocations: 2.406 kB / 1.365 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/1.236, allocations: 9.875 kB / 1.365 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009349/1.236, allocations: 2.345 MB / 1.368 GB, free: 3.512 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.236, allocations: 9.062 kB / 1.368 GB, free: 3.508 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/1.237, allocations: 0.6605 MB / 1.368 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/1.237, allocations: 216.8 kB / 1.369 GB, free: 3.078 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.238, allocations: 13.44 kB / 1.369 GB, free: 3.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/1.238, allocations: 13.34 kB / 1.369 GB, free: 3.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.238, allocations: 27.78 kB / 1.369 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/1.238, allocations: 14.97 kB / 1.369 GB, free: 3.062 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009167/1.239, allocations: 0.7508 MB / 1.369 GB, free: 2.953 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.239, allocations: 0 / 1.369 GB, free: 2.953 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001283/1.24, allocations: 487 kB / 1.37 GB, free: 2.906 MB / 1.014 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.001271/1.242, allocations: 1.322 MB / 1.371 GB, free: 2.066 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001485/1.243, allocations: 0.6927 MB / 1.372 GB, free: 2.039 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.243, allocations: 0 / 1.372 GB, free: 2.039 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003194/1.243, allocations: 174.3 kB / 1.372 GB, free: 2.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/1.246, allocations: 0.6239 MB / 1.373 GB, free: 1.918 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/1.256, allocations: 8.561 MB / 1.381 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/1.256, allocations: 1.11 MB / 1.382 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001113/1.257, allocations: 247.1 kB / 1.382 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/1.258, allocations: 417.4 kB / 1.383 GB, free: 12.89 MB / 1.029 GB Notification: Performance of SimCode: time 6.22e-07/1.258, allocations: 0 / 1.383 GB, free: 12.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05961/1.317, allocations: 29.85 MB / 1.412 GB, free: 8.523 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.32, allocations: 11.48 kB / 1.412 GB, free: 8.516 MB / 1.045 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=50 --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