Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 111 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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.AirProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 1.056 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8673/0.8693, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.195/1.064, allocations: 149.5 MB / 1.359 GB, free: 2.086 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005311/1.07, allocations: 3.613 MB / 1.363 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/1.07, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/1.07, allocations: 67.64 kB / 1.363 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004966/1.071, allocations: 147.2 kB / 1.363 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/1.074, allocations: 1.034 MB / 1.364 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000535/1.074, allocations: 315.7 kB / 1.364 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/1.074, allocations: 9.547 kB / 1.364 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/1.075, allocations: 209 kB / 1.364 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/1.075, allocations: 131.5 kB / 1.364 GB, free: 12.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/1.075, allocations: 16 kB / 1.364 GB, free: 12.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/1.078, allocations: 1.286 MB / 1.366 GB, free: 11.26 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/1.078, allocations: 67.78 kB / 1.366 GB, free: 11.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/1.078, allocations: 107.5 kB / 1.366 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/1.079, allocations: 0.6465 MB / 1.366 GB, free: 10.44 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.079, allocations: 0 / 1.366 GB, free: 10.44 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.343e-06/1.079, allocations: 3.938 kB / 1.366 GB, free: 10.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.342e-05/1.079, allocations: 0 / 1.366 GB, free: 10.43 MB / 1.076 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.001274/1.08, allocations: 0.5958 MB / 1.367 GB, free: 9.789 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.08, allocations: 8.625 kB / 1.367 GB, free: 9.781 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.728e-05/1.08, allocations: 54.73 kB / 1.367 GB, free: 9.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/1.082, allocations: 136.7 kB / 1.367 GB, free: 9.586 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/1.082, allocations: 231.8 kB / 1.367 GB, free: 9.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/1.082, allocations: 20.38 kB / 1.367 GB, free: 9.301 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/1.082, allocations: 16 kB / 1.367 GB, free: 9.285 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/1.083, allocations: 338.1 kB / 1.368 GB, free: 8.938 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/1.083, allocations: 4 kB / 1.368 GB, free: 8.934 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/1.083, allocations: 7.984 kB / 1.368 GB, free: 8.926 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/1.083, allocations: 19.98 kB / 1.368 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/1.083, allocations: 328.1 kB / 1.368 GB, free: 8.586 MB / 1.076 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.001738/1.085, allocations: 1.106 MB / 1.369 GB, free: 7.391 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/1.086, allocations: 182.4 kB / 1.369 GB, free: 7.203 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/1.086, allocations: 80.75 kB / 1.369 GB, free: 7.121 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/1.086, allocations: 457.5 kB / 1.37 GB, free: 6.582 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.086, allocations: 34.55 kB / 1.37 GB, free: 6.539 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/1.086, allocations: 3.938 kB / 1.37 GB, free: 6.535 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0006749/1.087, allocations: 267 kB / 1.37 GB, free: 6.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/1.087, allocations: 51.41 kB / 1.37 GB, free: 6.207 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/1.087, allocations: 211.6 kB / 1.37 GB, free: 5.988 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/1.087, allocations: 25.7 kB / 1.37 GB, free: 5.957 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.087, allocations: 152.3 kB / 1.371 GB, free: 5.805 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/1.087, allocations: 83.3 kB / 1.371 GB, free: 5.723 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.002e-05/1.088, allocations: 57.59 kB / 1.371 GB, free: 5.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.088, allocations: 326.8 kB / 1.371 GB, free: 5.332 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/1.088, allocations: 72.22 kB / 1.371 GB, free: 5.262 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/1.088, allocations: 155.7 kB / 1.371 GB, free: 5.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/1.088, allocations: 252.9 kB / 1.372 GB, free: 4.785 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.088, allocations: 7.875 kB / 1.372 GB, free: 4.777 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005227/1.089, allocations: 285.2 kB / 1.372 GB, free: 4.492 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.089, allocations: 4 kB / 1.372 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.089, allocations: 4 kB / 1.372 GB, free: 4.484 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/1.089, allocations: 7.938 kB / 1.372 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/1.089, allocations: 56.3 kB / 1.372 GB, free: 4.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.089, allocations: 15.92 kB / 1.372 GB, free: 4.406 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/1.089, allocations: 31.78 kB / 1.372 GB, free: 4.375 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/1.089, allocations: 8 kB / 1.372 GB, free: 4.367 MB / 1.076 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.0001389/1.09, allocations: 137.7 kB / 1.372 GB, free: 4.223 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/1.09, allocations: 27.89 kB / 1.372 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/1.09, allocations: 276.7 kB / 1.372 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.09, allocations: 4 kB / 1.372 GB, free: 3.914 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.09, allocations: 4 kB / 1.372 GB, free: 3.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.09, allocations: 0 / 1.372 GB, free: 3.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/1.091, allocations: 0.5879 MB / 1.373 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.091, allocations: 0 / 1.373 GB, free: 3.262 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/1.091, allocations: 35.98 kB / 1.373 GB, free: 3.227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.091, allocations: 0 / 1.373 GB, free: 3.227 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/1.091, allocations: 8 kB / 1.373 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.091, allocations: 0 / 1.373 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.091, allocations: 4.062 kB / 1.373 GB, free: 3.215 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/1.092, allocations: 354.6 kB / 1.373 GB, free: 2.848 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/1.092, allocations: 120.9 kB / 1.373 GB, free: 2.711 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/1.092, allocations: 7.984 kB / 1.373 GB, free: 2.703 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/1.092, allocations: 11.94 kB / 1.373 GB, free: 2.691 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/1.092, allocations: 15.98 kB / 1.373 GB, free: 2.676 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/1.092, allocations: 19.97 kB / 1.373 GB, free: 2.656 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001541/1.092, allocations: 149.5 kB / 1.374 GB, free: 2.512 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.092, allocations: 0 / 1.374 GB, free: 2.512 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004785/1.093, allocations: 115.8 kB / 1.374 GB, free: 2.398 MB / 1.076 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.001308/1.094, allocations: 0.9967 MB / 1.375 GB, free: 1.367 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004127/1.095, allocations: 199.7 kB / 1.375 GB, free: 1.172 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.095, allocations: 0 / 1.375 GB, free: 1.172 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/1.095, allocations: 91.89 kB / 1.375 GB, free: 1.082 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/1.095, allocations: 103.2 kB / 1.375 GB, free: 0.9844 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/1.099, allocations: 2.498 MB / 1.378 GB, free: 14.33 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.099, allocations: 0.7445 MB / 1.378 GB, free: 13.55 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002558/1.1, allocations: 50.25 kB / 1.378 GB, free: 13.51 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/1.1, allocations: 59.42 kB / 1.378 GB, free: 13.45 MB / 1.092 GB Notification: Performance of SimCode: time 1.553e-06/1.1, allocations: 0 / 1.378 GB, free: 13.45 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/1.132, allocations: 7.782 MB / 1.386 GB, free: 5.805 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.497/9.63, allocations: 11.83 kB / 1.386 GB, free: 5.797 MB / 1.092 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_AirProperties.fmu > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.49617230007425]