Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.006125/0.006125, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001333/0.001333, allocations: 190.4 kB / 16.67 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.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.641/2.641, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 63.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.314, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.961/1.275, allocations: 148.3 MB / 1.311 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001661/1.275, allocations: 49.94 kB / 1.311 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/1.275, allocations: 0 / 1.311 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/1.275, allocations: 9.359 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/1.276, allocations: 11.28 kB / 1.311 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009156/1.277, allocations: 219.7 kB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/1.277, allocations: 34.05 kB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/1.277, allocations: 3.609 kB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/1.277, allocations: 10.94 kB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/1.277, allocations: 25.75 kB / 1.311 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/1.277, allocations: 1.156 kB / 1.311 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/1.277, allocations: 192.4 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/1.277, allocations: 9.047 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/1.277, allocations: 13.61 kB / 1.311 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/1.278, allocations: 113.5 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.278, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.302e-06/1.278, allocations: 1.062 kB / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.841e-06/1.278, allocations: 0 / 1.312 GB, free: 12.35 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004667/1.278, allocations: 343.2 kB / 1.312 GB, free: 11.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.278, allocations: 13.69 kB / 1.312 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/1.278, allocations: 36.22 kB / 1.312 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/1.279, allocations: 27.75 kB / 1.312 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/1.279, allocations: 164.4 kB / 1.312 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/1.279, allocations: 33.81 kB / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/1.279, allocations: 0 / 1.312 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/1.279, allocations: 50.73 kB / 1.312 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.279, allocations: 4 kB / 1.312 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.279, allocations: 0.6094 kB / 1.312 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.279, allocations: 3.812 kB / 1.312 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.546e-05/1.279, allocations: 22.19 kB / 1.312 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/1.28, allocations: 255.5 kB / 1.313 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/1.28, allocations: 23.27 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/1.28, allocations: 15.81 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/1.28, allocations: 90.67 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/1.28, allocations: 35.64 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/1.28, allocations: 0 / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002771/1.28, allocations: 51.78 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.28, allocations: 58.88 kB / 1.313 GB, free: 11.13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/1.28, allocations: 109.7 kB / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/1.281, allocations: 25.7 kB / 1.313 GB, free: 11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/1.281, allocations: 85.84 kB / 1.313 GB, free: 10.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/1.281, allocations: 5.859 kB / 1.313 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/1.281, allocations: 18.52 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.281, allocations: 313.5 kB / 1.313 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/1.281, allocations: 9.984 kB / 1.313 GB, free: 10.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/1.281, allocations: 25.48 kB / 1.313 GB, free: 10.55 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/1.281, allocations: 28.94 kB / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/1.281, allocations: 0 / 1.313 GB, free: 10.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.705e-05/1.281, allocations: 59.06 kB / 1.313 GB, free: 10.48 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.281, allocations: 13.75 kB / 1.313 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.281, allocations: 0 / 1.313 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.281, allocations: 7.688 kB / 1.313 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/1.281, allocations: 7.594 kB / 1.313 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.281, allocations: 5.156 kB / 1.313 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/1.281, allocations: 5.594 kB / 1.313 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/1.281, allocations: 1.938 kB / 1.313 GB, free: 10.47 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001046/1.281, allocations: 108.8 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/1.281, allocations: 5.266 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/1.281, allocations: 9.281 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.281, allocations: 1.688 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.281, allocations: 3.938 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.281, allocations: 1.734 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/1.282, allocations: 358.1 kB / 1.314 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.282, allocations: 1.156 kB / 1.314 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/1.282, allocations: 3.438 kB / 1.314 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/1.282, allocations: 9.188 kB / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/1.282, allocations: 1.469 kB / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.282, allocations: 0.7031 kB / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.282, allocations: 1.219 kB / 1.314 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/1.282, allocations: 76.52 kB / 1.314 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/1.282, allocations: 83.2 kB / 1.314 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/1.282, allocations: 2.844 kB / 1.314 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/1.282, allocations: 8.359 kB / 1.314 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/1.282, allocations: 1.672 kB / 1.314 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/1.282, allocations: 1.531 kB / 1.314 GB, free: 9.766 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.207e-05/1.282, allocations: 83.53 kB / 1.314 GB, free: 9.691 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.282, allocations: 1.562 kB / 1.314 GB, free: 9.691 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002125/1.282, allocations: 9.844 kB / 1.314 GB, free: 9.688 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0004593/1.283, allocations: 0.6151 MB / 1.315 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001014/1.283, allocations: 16 kB / 1.315 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.283, allocations: 0 / 1.315 GB, free: 9.082 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/1.283, allocations: 11.66 kB / 1.315 GB, free: 9.074 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/1.283, allocations: 13.19 kB / 1.315 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/1.284, allocations: 144.2 kB / 1.315 GB, free: 8.926 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.284, allocations: 0.675 MB / 1.316 GB, free: 8.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.829e-05/1.284, allocations: 14.41 kB / 1.316 GB, free: 8.223 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/1.284, allocations: 9.391 kB / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.284, allocations: 1.062 kB / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/1.304, allocations: 1.451 MB / 1.317 GB, free: 7.836 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.952, allocations: 16.95 kB / 1.317 GB, free: 7.828 MB / 1.014 GB (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches