Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirProperties.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirProperties",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.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 152 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.001392/0.001392, allocations: 199 kB / 16.54 MB, free: 6.664 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.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 62.64 kB / 0.9086 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2344, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1476/0.382, allocations: 149.1 MB / 1.21 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003966/0.386, allocations: 3.612 MB / 1.213 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.3861, allocations: 0 / 1.213 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.3864, allocations: 63.64 kB / 1.213 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.3867, allocations: 139.2 kB / 1.213 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.3888, allocations: 1.009 MB / 1.214 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.3892, allocations: 323.7 kB / 1.215 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3892, allocations: 9.562 kB / 1.215 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003302/0.3895, allocations: 191.2 kB / 1.215 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3897, allocations: 131.5 kB / 1.215 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.3898, allocations: 15.94 kB / 1.215 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.3916, allocations: 1.216 MB / 1.216 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.3917, allocations: 75.78 kB / 1.216 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.3918, allocations: 107.5 kB / 1.216 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009444/0.3928, allocations: 0.6276 MB / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3928, allocations: 0 / 1.217 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.058e-06/0.3928, allocations: 3.984 kB / 1.217 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3928, allocations: 0 / 1.217 GB, free: 1.059 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001028/0.3938, allocations: 0.5928 MB / 1.218 GB, free: 428 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3939, allocations: 12.03 kB / 1.218 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.177e-05/0.3939, allocations: 58.67 kB / 1.218 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.395, allocations: 136.5 kB / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.3952, allocations: 219.9 kB / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3953, allocations: 16.38 kB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3953, allocations: 16 kB / 1.218 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.3958, allocations: 346.2 kB / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3958, allocations: 0 / 1.218 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.3959, allocations: 12 kB / 1.218 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.3959, allocations: 15.98 kB / 1.218 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.3964, allocations: 316.1 kB / 1.219 GB, free: 15.22 MB / 0.9825 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.001512/0.3979, allocations: 1.109 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.3984, allocations: 187.4 kB / 1.22 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.3985, allocations: 88.73 kB / 1.22 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.3991, allocations: 453.5 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3991, allocations: 46.5 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.412e-06/0.3991, allocations: 0 / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006145/0.3997, allocations: 257.3 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3998, allocations: 55.41 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.4, allocations: 211 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.4, allocations: 33.7 kB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.4001, allocations: 144 kB / 1.221 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.4002, allocations: 70.98 kB / 1.221 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.4003, allocations: 53.61 kB / 1.221 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4004, allocations: 326.8 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.4005, allocations: 72.33 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.4007, allocations: 163.5 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.401, allocations: 253.1 kB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.401, allocations: 11.88 kB / 1.222 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004822/0.4015, allocations: 269.9 kB / 1.222 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4015, allocations: 8.375 kB / 1.222 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4016, allocations: 7.984 kB / 1.222 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4016, allocations: 11.94 kB / 1.222 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.4018, allocations: 51.92 kB / 1.222 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.4018, allocations: 7.984 kB / 1.222 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.402, allocations: 31.59 kB / 1.222 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.4021, allocations: 19.98 kB / 1.222 GB, free: 11 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001196/0.4022, allocations: 142.2 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.4023, allocations: 23.8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004447/0.4028, allocations: 273.9 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4028, allocations: 4 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4028, allocations: 0 / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4028, allocations: 3.984 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.4035, allocations: 0.5818 MB / 1.223 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4035, allocations: 4.062 kB / 1.223 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4037, allocations: 35.92 kB / 1.223 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4037, allocations: 4 kB / 1.223 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4037, allocations: 8 kB / 1.223 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4037, allocations: 4 kB / 1.223 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4037, allocations: 0 / 1.223 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.4042, allocations: 356.7 kB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4043, allocations: 116.7 kB / 1.224 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.4044, allocations: 4 kB / 1.224 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.4046, allocations: 15.98 kB / 1.224 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.4046, allocations: 7.984 kB / 1.224 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.4047, allocations: 19.98 kB / 1.224 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001253/0.4048, allocations: 149.4 kB / 1.224 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4048, allocations: 0 / 1.224 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000405/0.4052, allocations: 123.9 kB / 1.224 GB, free: 9.027 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001004/0.4062, allocations: 0.9923 MB / 1.225 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003688/0.4066, allocations: 223.5 kB / 1.225 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4066, allocations: 0 / 1.225 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.4068, allocations: 108.5 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.4073, allocations: 105 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.41, allocations: 2.498 MB / 1.228 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.4103, allocations: 0.7405 MB / 1.229 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.4106, allocations: 54.25 kB / 1.229 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4107, allocations: 59.42 kB / 1.229 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.4107, allocations: 0 / 1.229 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.555/1.965, allocations: 7.667 MB / 1.236 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/16.2, allocations: 14.19 kB / 1.236 GB, free: 12.49 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_AirProperties.fmu > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches