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.001554/0.001554, 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.00226/0.00226, allocations: 194 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.671/1.671, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.869/2.869, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.25 kB / 0.9082 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.319, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Sensors): time 0.895/1.214, allocations: 261.9 MB / 1.319 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02119/1.235, allocations: 19.12 MB / 1.338 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/1.238, allocations: 50.16 kB / 1.338 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002165/1.24, allocations: 0.7391 MB / 1.339 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00485/1.245, allocations: 1.818 MB / 1.341 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/1.248, allocations: 1.458 MB / 1.342 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003593/1.252, allocations: 3.082 MB / 1.345 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/1.254, allocations: 1.237 MB / 1.346 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007082/1.261, allocations: 3.178 MB / 1.349 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/1.262, allocations: 0.9876 MB / 1.35 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/1.262, allocations: 101.3 kB / 1.35 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/1.265, allocations: 1.517 MB / 1.352 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000332/1.265, allocations: 423.8 kB / 1.352 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006768/1.266, allocations: 0.7065 MB / 1.353 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/1.268, allocations: 2.031 MB / 1.355 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.268, allocations: 2.875 kB / 1.355 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.268, allocations: 0 / 1.355 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.268, allocations: 0 / 1.355 GB, free: 2.172 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.00202/1.27, allocations: 1.586 MB / 1.357 GB, free: 17.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/1.27, allocations: 10.22 kB / 1.357 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/1.27, allocations: 139.6 kB / 1.357 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/1.272, allocations: 288.9 kB / 1.357 GB, free: 17.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.273, allocations: 0.8233 MB / 1.358 GB, free: 16.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/1.273, allocations: 86.44 kB / 1.358 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/1.273, allocations: 94.66 kB / 1.358 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.274, allocations: 1.004 MB / 1.359 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.274, allocations: 2.75 kB / 1.359 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/1.275, allocations: 41.78 kB / 1.359 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/1.275, allocations: 20.22 kB / 1.359 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/1.275, allocations: 0.6515 MB / 1.36 GB, free: 16.58 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.00384/1.279, allocations: 4.723 MB / 1.364 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/1.28, allocations: 252.2 kB / 1.365 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/1.28, allocations: 132.5 kB / 1.365 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/1.28, allocations: 308.1 kB / 1.365 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/1.28, allocations: 39.47 kB / 1.365 GB, free: 12.69 MB / 1.014 GB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/1.28, allocations: 0 / 1.365 GB, free: 12.69 MB / 1.014 GB Notification: Performance of matching and sorting (n=29): time 0.0008534/1.281, allocations: 490.4 kB / 1.365 GB, free: 12.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/1.281, allocations: 53.88 kB / 1.366 GB, free: 12.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/1.283, allocations: 1.099 MB / 1.367 GB, free: 12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/1.283, allocations: 33.3 kB / 1.367 GB, free: 11.96 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/1.283, allocations: 0.5993 MB / 1.367 GB, free: 11.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.746e-05/1.283, allocations: 105.7 kB / 1.367 GB, free: 11.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/1.283, allocations: 121.5 kB / 1.367 GB, free: 11.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/1.283, allocations: 326.6 kB / 1.368 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/1.284, allocations: 142.7 kB / 1.368 GB, free: 10.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/1.284, allocations: 428.5 kB / 1.368 GB, free: 10.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/1.285, allocations: 0.5374 MB / 1.369 GB, free: 10.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.285, allocations: 2.438 kB / 1.369 GB, free: 10.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008727/1.285, allocations: 0.6242 MB / 1.369 GB, free: 9.934 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.285, allocations: 8.812 kB / 1.369 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.286, allocations: 6.438 kB / 1.369 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.286, allocations: 18.56 kB / 1.369 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000857/1.286, allocations: 187 kB / 1.37 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/1.288, allocations: 2.356 MB / 1.372 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005784/1.288, allocations: 87.17 kB / 1.372 GB, free: 7.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/1.288, allocations: 29.44 kB / 1.372 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004726/1.289, allocations: 367.1 kB / 1.372 GB, free: 7.297 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005064/1.289, allocations: 427.3 kB / 1.373 GB, free: 6.895 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006752/1.29, allocations: 0.524 MB / 1.373 GB, free: 6.492 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/1.29, allocations: 2.125 kB / 1.373 GB, free: 6.492 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.000889/1.291, allocations: 0.6233 MB / 1.374 GB, free: 6.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/1.291, allocations: 5 kB / 1.374 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.291, allocations: 8.625 kB / 1.374 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.291, allocations: 18.02 kB / 1.374 GB, free: 6.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/1.291, allocations: 127.8 kB / 1.374 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.291, allocations: 18.05 kB / 1.374 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/1.292, allocations: 49.22 kB / 1.374 GB, free: 6.219 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/1.292, allocations: 33.3 kB / 1.374 GB, free: 6.211 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.0001494/1.292, allocations: 214.2 kB / 1.374 GB, free: 6.016 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.292, allocations: 119.8 kB / 1.374 GB, free: 5.953 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/1.293, allocations: 412.5 kB / 1.375 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.293, allocations: 1.812 kB / 1.375 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.293, allocations: 0 / 1.375 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.293, allocations: 1.875 kB / 1.375 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/1.295, allocations: 1.304 MB / 1.376 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.295, allocations: 2.062 kB / 1.376 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/1.295, allocations: 84.44 kB / 1.376 GB, free: 5.066 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/1.295, allocations: 7.5 kB / 1.376 GB, free: 5.066 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/1.295, allocations: 10.72 kB / 1.376 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009833/1.296, allocations: 2.35 MB / 1.379 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.296, allocations: 2.094 kB / 1.379 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/1.297, allocations: 0.6683 MB / 1.379 GB, free: 2.277 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/1.297, allocations: 219.6 kB / 1.379 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.297, allocations: 9.062 kB / 1.379 GB, free: 2.098 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/1.298, allocations: 15.02 kB / 1.379 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/1.298, allocations: 30.92 kB / 1.379 GB, free: 2.078 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/1.298, allocations: 15.3 kB / 1.379 GB, free: 2.074 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008517/1.298, allocations: 0.7496 MB / 1.38 GB, free: 1.777 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.299, allocations: 0 / 1.38 GB, free: 1.777 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001172/1.3, allocations: 491.4 kB / 1.381 GB, free: 1.703 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.001309/1.301, allocations: 1.32 MB / 1.382 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001483/1.302, allocations: 0.6905 MB / 1.383 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.303, allocations: 0 / 1.383 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/1.303, allocations: 175.7 kB / 1.383 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.305, allocations: 0.6236 MB / 1.383 GB, free: 320 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/1.315, allocations: 8.574 MB / 1.392 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/1.316, allocations: 1.103 MB / 1.393 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009549/1.317, allocations: 245.1 kB / 1.393 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/1.317, allocations: 418.8 kB / 1.393 GB, free: 9.875 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/1.317, allocations: 0 / 1.393 GB, free: 9.875 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06183/1.379, allocations: 29.85 MB / 1.423 GB, free: 2.902 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.95, allocations: 13.48 kB / 1.423 GB, free: 2.891 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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