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.001859/0.001859, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002349/0.002349, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.74/2.74, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0.7656 kB / 0.7864 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.605e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2248/0.2248, allocations: 131.1 MB / 0.9144 GB, free: 8.152 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.005317/0.2301, allocations: 3.314 MB / 0.9176 GB, free: 4.832 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2302, allocations: 0 / 0.9176 GB, free: 4.832 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.2306, allocations: 55.66 kB / 0.9177 GB, free: 4.777 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.2311, allocations: 151 kB / 0.9178 GB, free: 4.629 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.2342, allocations: 1.077 MB / 0.9189 GB, free: 3.547 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0007084/0.2349, allocations: 327.5 kB / 0.9192 GB, free: 3.227 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.031e-05/0.235, allocations: 9.812 kB / 0.9192 GB, free: 3.215 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.2358, allocations: 251.1 kB / 0.9195 GB, free: 2.969 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.2362, allocations: 119.6 kB / 0.9196 GB, free: 2.852 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.2362, allocations: 12 kB / 0.9196 GB, free: 2.84 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/0.2393, allocations: 1.071 MB / 0.9206 GB, free: 1.766 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.2394, allocations: 83.77 kB / 0.9207 GB, free: 1.684 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.2396, allocations: 75.84 kB / 0.9208 GB, free: 1.609 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.2412, allocations: 0.6737 MB / 0.9214 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2412, allocations: 0 / 0.9214 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2412, allocations: 4 kB / 0.9214 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.2412, allocations: 3.984 kB / 0.9214 GB, free: 0.9258 MB / 0.823 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.001365/0.2426, allocations: 0.5165 MB / 0.9219 GB, free: 388 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.2426, allocations: 12.03 kB / 0.922 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.244, allocations: 232.1 kB / 0.9222 GB, free: 144 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.2444, allocations: 169.6 kB / 0.9223 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2444, allocations: 12.75 kB / 0.9224 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.2445, allocations: 24.38 kB / 0.9224 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.2453, allocations: 0.5856 MB / 0.9229 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2453, allocations: 0 / 0.9229 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.2453, allocations: 12 kB / 0.923 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.2454, allocations: 15.98 kB / 0.923 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.246, allocations: 320.2 kB / 0.9233 GB, free: 14.9 MB / 0.8386 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.001878/0.2479, allocations: 0.9035 MB / 0.9242 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.2484, allocations: 182.2 kB / 0.9243 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2486, allocations: 84.8 kB / 0.9244 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003959/0.249, allocations: 71.94 kB / 0.9245 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.249, allocations: 38.56 kB / 0.9245 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.249, allocations: 0 / 0.9245 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0007929/0.2498, allocations: 269.3 kB / 0.9248 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.2499, allocations: 59.39 kB / 0.9248 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.2501, allocations: 172.3 kB / 0.925 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.042e-05/0.2501, allocations: 37.7 kB / 0.925 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2503, allocations: 152.2 kB / 0.9252 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.2503, allocations: 75.33 kB / 0.9253 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2504, allocations: 53.66 kB / 0.9253 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2506, allocations: 322.8 kB / 0.9256 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.2508, allocations: 72.22 kB / 0.9257 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.251, allocations: 163.6 kB / 0.9258 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.2514, allocations: 248.4 kB / 0.9261 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2514, allocations: 0 / 0.9261 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006378/0.2521, allocations: 303.3 kB / 0.9264 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2521, allocations: 8 kB / 0.9264 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2521, allocations: 4 kB / 0.9264 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.2521, allocations: 4 kB / 0.9264 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.2524, allocations: 51.92 kB / 0.9264 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.2524, allocations: 15.86 kB / 0.9264 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.2526, allocations: 24.22 kB / 0.9265 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.2527, allocations: 16.11 kB / 0.9265 GB, free: 11.43 MB / 0.8386 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.0001709/0.2528, allocations: 149.6 kB / 0.9266 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.253, allocations: 35.83 kB / 0.9267 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000573/0.2536, allocations: 272.7 kB / 0.9269 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2536, allocations: 0 / 0.9269 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2536, allocations: 0 / 0.9269 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.2536, allocations: 7.938 kB / 0.9269 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.2549, allocations: 0.5095 MB / 0.9274 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2549, allocations: 3.938 kB / 0.9274 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.2551, allocations: 32.06 kB / 0.9275 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2551, allocations: 3.984 kB / 0.9275 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2551, allocations: 7.938 kB / 0.9275 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2551, allocations: 0 / 0.9275 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2551, allocations: 0 / 0.9275 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.2558, allocations: 368.8 kB / 0.9278 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2559, allocations: 35.81 kB / 0.9279 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.2559, allocations: 11.94 kB / 0.9279 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.2562, allocations: 11.98 kB / 0.9279 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2562, allocations: 15.98 kB / 0.9279 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.2562, allocations: 15.98 kB / 0.9279 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001163/0.2564, allocations: 115.2 kB / 0.928 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.2564, allocations: 3.938 kB / 0.928 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005683/0.2569, allocations: 135.7 kB / 0.9282 GB, free: 9.637 MB / 0.8386 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.000548/0.2575, allocations: 230.8 kB / 0.9284 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.2579, allocations: 200.1 kB / 0.9286 GB, free: 9.207 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.2579, allocations: 4 kB / 0.9286 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.2581, allocations: 99.81 kB / 0.9287 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.2588, allocations: 97.89 kB / 0.9288 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.2597, allocations: 430.2 kB / 0.9292 GB, free: 8.562 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.2598, allocations: 124.4 kB / 0.9293 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000251/0.2601, allocations: 49.59 kB / 0.9293 GB, free: 8.371 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.837e-05/0.2602, allocations: 24.5 kB / 0.9294 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of SimCode: time 7.72e-07/0.2602, allocations: 0 / 0.9294 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of Templates: time 0.01237/0.2726, allocations: 5.147 MB / 0.9344 GB, free: 3.328 MB / 0.8386 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 8.155182593967766]