Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008404/0.0008404, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8424/0.8424, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.706/1.706, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9996 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.62e-05, allocations: 4.812 kB / 0.9996 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.591/0.591, allocations: 130.4 MB / 1.127 GB, free: 5.234 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.5911, allocations: 45.05 kB / 1.127 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.5911, allocations: 1.219 kB / 1.127 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.5913, allocations: 2.156 kB / 1.127 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.5913, allocations: 21.23 kB / 1.127 GB, free: 5.199 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.5919, allocations: 217.2 kB / 1.127 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.592, allocations: 31.83 kB / 1.127 GB, free: 5.09 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.592, allocations: 8.516 kB / 1.127 GB, free: 5.086 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.5921, allocations: 18.86 kB / 1.127 GB, free: 5.082 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.5921, allocations: 9.469 kB / 1.127 GB, free: 5.082 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.5922, allocations: 4 kB / 1.127 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.5924, allocations: 163.8 kB / 1.127 GB, free: 5.012 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.5925, allocations: 12.59 kB / 1.127 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.5925, allocations: 5.094 kB / 1.127 GB, free: 5.008 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.5927, allocations: 116.8 kB / 1.128 GB, free: 4.973 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5927, allocations: 1.094 kB / 1.128 GB, free: 4.973 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5927, allocations: 0 / 1.128 GB, free: 4.973 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.5927, allocations: 0 / 1.128 GB, free: 4.973 MB / 0.9792 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.0003362/0.593, allocations: 265.3 kB / 1.128 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5931, allocations: 10.53 kB / 1.128 GB, free: 4.707 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.5931, allocations: 34.75 kB / 1.128 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/0.5933, allocations: 33.97 kB / 1.128 GB, free: 4.656 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.195e-05/0.5934, allocations: 103.3 kB / 1.128 GB, free: 4.531 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.5935, allocations: 57.53 kB / 1.128 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.5935, allocations: 5.125 kB / 1.128 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.5936, allocations: 79.22 kB / 1.128 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.5936, allocations: 0 / 1.128 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5936, allocations: 3.984 kB / 1.128 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.5936, allocations: 2.438 kB / 1.128 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.5937, allocations: 25.25 kB / 1.128 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.594, allocations: 225.7 kB / 1.128 GB, free: 4.141 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.727e-05/0.594, allocations: 19.55 kB / 1.128 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.594, allocations: 11.48 kB / 1.128 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/0.5941, allocations: 17.72 kB / 1.128 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.5941, allocations: 35.75 kB / 1.128 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5941, allocations: 0 / 1.128 GB, free: 4.062 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.5943, allocations: 53.67 kB / 1.129 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.5943, allocations: 51.41 kB / 1.129 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.814e-05/0.5944, allocations: 110.2 kB / 1.129 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.5944, allocations: 27.02 kB / 1.129 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.5944, allocations: 81.36 kB / 1.129 GB, free: 3.738 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.5945, allocations: 11.83 kB / 1.129 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.5945, allocations: 16.42 kB / 1.129 GB, free: 3.711 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.5945, allocations: 321.3 kB / 1.129 GB, free: 3.391 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.5946, allocations: 4.734 kB / 1.129 GB, free: 3.391 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.5946, allocations: 31.77 kB / 1.129 GB, free: 3.359 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.5946, allocations: 27.36 kB / 1.129 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5946, allocations: 0 / 1.129 GB, free: 3.332 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.351e-05/0.5947, allocations: 55.48 kB / 1.129 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5947, allocations: 5.281 kB / 1.129 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.5947, allocations: 0 / 1.129 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5947, allocations: 1.438 kB / 1.129 GB, free: 3.293 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.5947, allocations: 14.44 kB / 1.129 GB, free: 3.285 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5947, allocations: 3.844 kB / 1.129 GB, free: 3.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.5948, allocations: 5.312 kB / 1.129 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.5948, allocations: 1.312 kB / 1.129 GB, free: 3.281 MB / 0.9792 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 4.918e-05/0.5948, allocations: 112.4 kB / 1.129 GB, free: 3.164 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.5948, allocations: 2.188 kB / 1.129 GB, free: 3.164 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.624e-05/0.5948, allocations: 14.97 kB / 1.129 GB, free: 3.156 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.5948, allocations: 3.984 kB / 1.129 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5949, allocations: 1.344 kB / 1.129 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5949, allocations: 0.5625 kB / 1.129 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.595, allocations: 339.7 kB / 1.13 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.595, allocations: 1.219 kB / 1.13 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.595, allocations: 4.875 kB / 1.13 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.595, allocations: 1.438 kB / 1.13 GB, free: 2.785 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5951, allocations: 5.531 kB / 1.13 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5951, allocations: 7.875 kB / 1.13 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5951, allocations: 1.375 kB / 1.13 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.034e-05/0.5951, allocations: 66.11 kB / 1.13 GB, free: 2.699 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.5951, allocations: 10.91 kB / 1.13 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.5951, allocations: 7.641 kB / 1.13 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.758e-05/0.5952, allocations: 6.062 kB / 1.13 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.5952, allocations: 1.188 kB / 1.13 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.5952, allocations: 2.891 kB / 1.13 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.5952, allocations: 79.66 kB / 1.13 GB, free: 2.609 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.5952, allocations: 0 / 1.13 GB, free: 2.609 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001312/0.5953, allocations: 7.062 kB / 1.13 GB, free: 2.609 MB / 0.9792 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.0002444/0.5956, allocations: 0.6101 MB / 1.13 GB, free: 2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 5.897e-05/0.5956, allocations: 11.53 kB / 1.131 GB, free: 2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5956, allocations: 1 kB / 1.131 GB, free: 2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.5957, allocations: 11.22 kB / 1.131 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.5959, allocations: 9.531 kB / 1.131 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.5961, allocations: 138.5 kB / 1.131 GB, free: 1.836 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.5962, allocations: 63.61 kB / 1.131 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.5962, allocations: 5.719 kB / 1.131 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.5962, allocations: 13.39 kB / 1.131 GB, free: 1.754 MB / 0.9792 GB Notification: Performance of SimCode: time 2.5e-07/0.5962, allocations: 0 / 1.131 GB, free: 1.754 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.6103, allocations: 2.142 MB / 1.133 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.394/7.004, allocations: 6.406 kB / 1.133 GB, free: 0.5898 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.84762249328196]