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.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.001807/0.001807, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002268/0.002268, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.726/2.726, allocations: 359.1 MB / 0.6044 GB, free: 14.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 67.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3439, allocations: 169.9 MB / 1.117 GB, free: 2.605 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.8185/1.162, allocations: 131 MB / 1.245 GB, free: 7.723 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005088/1.168, allocations: 3.295 MB / 1.249 GB, free: 5.578 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/1.168, allocations: 1.25 kB / 1.249 GB, free: 5.578 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/1.168, allocations: 56.56 kB / 1.249 GB, free: 5.555 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003988/1.168, allocations: 142.1 kB / 1.249 GB, free: 5.469 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003341/1.172, allocations: 1.063 MB / 1.25 GB, free: 4.945 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.000528/1.172, allocations: 319.3 kB / 1.25 GB, free: 4.816 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/1.172, allocations: 8.172 kB / 1.25 GB, free: 4.816 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/1.173, allocations: 207 kB / 1.25 GB, free: 4.727 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/1.173, allocations: 129.7 kB / 1.251 GB, free: 4.684 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/1.173, allocations: 13.89 kB / 1.251 GB, free: 4.68 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/1.175, allocations: 1.047 MB / 1.252 GB, free: 4.285 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/1.176, allocations: 74.2 kB / 1.252 GB, free: 4.254 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/1.176, allocations: 94.33 kB / 1.252 GB, free: 4.219 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/1.177, allocations: 0.6219 MB / 1.252 GB, free: 4.02 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.177, allocations: 0.8438 kB / 1.252 GB, free: 4.02 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.292e-06/1.177, allocations: 0 / 1.252 GB, free: 4.02 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.177, allocations: 0 / 1.252 GB, free: 4.02 MB / 1.107 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.001205/1.178, allocations: 0.5244 MB / 1.253 GB, free: 3.617 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/1.178, allocations: 8.469 kB / 1.253 GB, free: 3.617 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/1.18, allocations: 140.1 kB / 1.253 GB, free: 3.586 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/1.18, allocations: 160.8 kB / 1.253 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/1.18, allocations: 16.81 kB / 1.253 GB, free: 3.43 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/1.18, allocations: 19.22 kB / 1.253 GB, free: 3.422 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/1.181, allocations: 0.5927 MB / 1.254 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.181, allocations: 0 / 1.254 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/1.181, allocations: 8.125 kB / 1.254 GB, free: 2.945 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/1.181, allocations: 13.95 kB / 1.254 GB, free: 2.945 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/1.181, allocations: 324.3 kB / 1.254 GB, free: 2.859 MB / 1.107 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.001688/1.183, allocations: 0.9095 MB / 1.255 GB, free: 2.184 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/1.183, allocations: 180.4 kB / 1.255 GB, free: 2.125 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/1.184, allocations: 76.53 kB / 1.255 GB, free: 2.102 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/1.184, allocations: 73.86 kB / 1.255 GB, free: 2.094 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.184, allocations: 37.66 kB / 1.255 GB, free: 2.051 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/1.184, allocations: 0 / 1.255 GB, free: 2.051 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.0007053/1.185, allocations: 267.3 kB / 1.256 GB, free: 1.961 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/1.185, allocations: 57.44 kB / 1.256 GB, free: 1.895 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/1.185, allocations: 167.3 kB / 1.256 GB, free: 1.773 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/1.185, allocations: 32.47 kB / 1.256 GB, free: 1.738 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/1.185, allocations: 149.1 kB / 1.256 GB, free: 1.602 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/1.185, allocations: 74.78 kB / 1.256 GB, free: 1.543 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/1.185, allocations: 54.52 kB / 1.256 GB, free: 1.508 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.185, allocations: 322.8 kB / 1.256 GB, free: 1.191 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/1.186, allocations: 69.91 kB / 1.256 GB, free: 1.176 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/1.186, allocations: 162.2 kB / 1.257 GB, free: 1.051 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/1.186, allocations: 248.8 kB / 1.257 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/1.186, allocations: 5 kB / 1.257 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005654/1.187, allocations: 279.2 kB / 1.257 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.187, allocations: 9.219 kB / 1.257 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.187, allocations: 3.266 kB / 1.257 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/1.187, allocations: 12.69 kB / 1.257 GB, free: 0.7734 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/1.187, allocations: 54.34 kB / 1.257 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.187, allocations: 10.02 kB / 1.257 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/1.187, allocations: 28.77 kB / 1.257 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/1.187, allocations: 13.91 kB / 1.257 GB, free: 0.7422 MB / 1.107 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.0001546/1.187, allocations: 136.1 kB / 1.257 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.188, allocations: 20.83 kB / 1.257 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/1.188, allocations: 287.9 kB / 1.258 GB, free: 496 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.188, allocations: 6.109 kB / 1.258 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.188, allocations: 1.281 kB / 1.258 GB, free: 492 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.188, allocations: 4.734 kB / 1.258 GB, free: 488 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/1.189, allocations: 0.5183 MB / 1.258 GB, free: 140 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.189, allocations: 0 / 1.258 GB, free: 140 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/1.189, allocations: 30.62 kB / 1.258 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.189, allocations: 0 / 1.258 GB, free: 136 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/1.189, allocations: 7.734 kB / 1.258 GB, free: 132 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.189, allocations: 4.75 kB / 1.258 GB, free: 132 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.189, allocations: 6.016 kB / 1.258 GB, free: 128 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/1.19, allocations: 341.7 kB / 1.259 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.19, allocations: 43.61 kB / 1.259 GB, free: 15.9 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/1.19, allocations: 10.2 kB / 1.259 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/1.19, allocations: 11.55 kB / 1.259 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/1.19, allocations: 16.41 kB / 1.259 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/1.19, allocations: 15.83 kB / 1.259 GB, free: 15.89 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001259/1.19, allocations: 120.2 kB / 1.259 GB, free: 15.8 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.19, allocations: 0 / 1.259 GB, free: 15.8 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000645/1.191, allocations: 126.2 kB / 1.259 GB, free: 15.77 MB / 1.123 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.0004794/1.192, allocations: 225.7 kB / 1.259 GB, free: 15.65 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004201/1.192, allocations: 197.6 kB / 1.259 GB, free: 15.61 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.192, allocations: 1.5 kB / 1.259 GB, free: 15.61 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/1.192, allocations: 102.7 kB / 1.259 GB, free: 15.58 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/1.193, allocations: 62.58 kB / 1.259 GB, free: 15.56 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/1.194, allocations: 469.1 kB / 1.26 GB, free: 15.29 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/1.194, allocations: 132.2 kB / 1.26 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002122/1.194, allocations: 49.25 kB / 1.26 GB, free: 15.19 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.504e-05/1.194, allocations: 22.05 kB / 1.26 GB, free: 15.18 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/1.194, allocations: 1.062 kB / 1.26 GB, free: 15.18 MB / 1.123 GB Notification: Performance of Templates: time 0.01172/1.206, allocations: 4.588 MB / 1.265 GB, free: 14.66 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.16666594799608]