Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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.001211/0.001211, allocations: 101.9 kB / 19.73 MB, free: 2.113 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.00135/0.00135, allocations: 222.5 kB / 23.03 MB, free: 4.91 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 3.084/3.084, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) [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.00191/0.00191, allocations: 63.11 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3489, allocations: 179 MB / 1.345 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1516/0.5005, allocations: 119.5 MB / 1.462 GB, free: 7.84 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.5273, allocations: 20.22 MB / 1.482 GB, free: 3.539 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.5274, allocations: 0 / 1.482 GB, free: 3.539 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.5277, allocations: 47.7 kB / 1.482 GB, free: 3.492 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.528, allocations: 95.34 kB / 1.482 GB, free: 3.398 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01578/0.5438, allocations: 6.956 MB / 1.489 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.5442, allocations: 251.9 kB / 1.489 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.5442, allocations: 17.67 kB / 1.489 GB, free: 12.19 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.5445, allocations: 139.5 kB / 1.489 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.5447, allocations: 95.59 kB / 1.489 GB, free: 11.96 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.5447, allocations: 8 kB / 1.489 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02019/0.5649, allocations: 11.53 MB / 1.5 GB, free: 420 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.565, allocations: 43.83 kB / 1.5 GB, free: 376 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.5652, allocations: 71.72 kB / 1.501 GB, free: 304 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.579, allocations: 6.493 MB / 1.507 GB, free: 9.789 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.579, allocations: 0 / 1.507 GB, free: 9.789 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.873e-06/0.579, allocations: 0 / 1.507 GB, free: 9.789 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.579, allocations: 0 / 1.507 GB, free: 9.789 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003449/0.5825, allocations: 1.163 MB / 1.508 GB, free: 8.59 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5825, allocations: 12.03 kB / 1.508 GB, free: 8.578 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.598e-05/0.5825, allocations: 4.188 kB / 1.508 GB, free: 8.574 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.5826, allocations: 46.73 kB / 1.508 GB, free: 8.52 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.5837, allocations: 88.75 kB / 1.508 GB, free: 8.434 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.584, allocations: 181.9 kB / 1.508 GB, free: 8.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.584, allocations: 12 kB / 1.508 GB, free: 8.219 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.584, allocations: 12 kB / 1.508 GB, free: 8.207 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.5854, allocations: 0.6738 MB / 1.509 GB, free: 7.465 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5854, allocations: 0 / 1.509 GB, free: 7.465 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.5854, allocations: 8 kB / 1.509 GB, free: 7.457 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.5854, allocations: 4 kB / 1.509 GB, free: 7.453 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.5868, allocations: 0.6205 MB / 1.51 GB, free: 6.832 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.5878, allocations: 0.7265 MB / 1.51 GB, free: 6.051 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.5887, allocations: 235.4 kB / 1.511 GB, free: 5.812 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.5888, allocations: 68.77 kB / 1.511 GB, free: 5.742 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08222/0.671, allocations: 23.36 MB / 1.533 GB, free: 14.33 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.6711, allocations: 38.56 kB / 1.533 GB, free: 14.29 MB / 1.232 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.6711, allocations: 3.938 kB / 1.534 GB, free: 14.28 MB / 1.232 GB Notification: Performance of matching and sorting (n=25): time 0.001871/0.673, allocations: 417.4 kB / 1.534 GB, free: 13.87 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.673, allocations: 59.39 kB / 1.534 GB, free: 13.8 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.6731, allocations: 139.5 kB / 1.534 GB, free: 13.65 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.6732, allocations: 29.7 kB / 1.534 GB, free: 13.62 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 7.843e-05/0.6732, allocations: 112.4 kB / 1.534 GB, free: 13.5 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.6733, allocations: 87.22 kB / 1.534 GB, free: 13.42 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.6735, allocations: 81.66 kB / 1.534 GB, free: 13.33 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6736, allocations: 322.8 kB / 1.535 GB, free: 13.01 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.6738, allocations: 83.95 kB / 1.535 GB, free: 12.93 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.674, allocations: 141 kB / 1.535 GB, free: 12.77 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.6745, allocations: 209.9 kB / 1.535 GB, free: 12.55 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6745, allocations: 0 / 1.535 GB, free: 12.55 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008082/0.6753, allocations: 309.3 kB / 1.535 GB, free: 12.24 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.6753, allocations: 4 kB / 1.535 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6753, allocations: 0 / 1.535 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6754, allocations: 4 kB / 1.535 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003262/0.6757, allocations: 79.88 kB / 1.535 GB, free: 12.15 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.6757, allocations: 11.88 kB / 1.536 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.6759, allocations: 19.84 kB / 1.536 GB, free: 12.12 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.6759, allocations: 23.98 kB / 1.536 GB, free: 12.1 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001435/0.6761, allocations: 133.8 kB / 1.536 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.6762, allocations: 15.91 kB / 1.536 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.6789, allocations: 2.487 MB / 1.538 GB, free: 9.449 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/0.6789, allocations: 15.98 kB / 1.538 GB, free: 9.434 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6789, allocations: 3.938 kB / 1.538 GB, free: 9.43 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6789, allocations: 3.938 kB / 1.538 GB, free: 9.426 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.6825, allocations: 3.583 MB / 1.542 GB, free: 5.738 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6825, allocations: 4 kB / 1.542 GB, free: 5.734 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.6828, allocations: 55.89 kB / 1.542 GB, free: 5.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.6828, allocations: 3.938 kB / 1.542 GB, free: 5.676 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.6828, allocations: 11.98 kB / 1.542 GB, free: 5.664 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.6828, allocations: 4 kB / 1.542 GB, free: 5.66 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6829, allocations: 0 / 1.542 GB, free: 5.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.6837, allocations: 0.5584 MB / 1.542 GB, free: 5.086 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.6838, allocations: 71.5 kB / 1.542 GB, free: 5.016 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.6838, allocations: 4 kB / 1.542 GB, free: 5.012 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.684, allocations: 15.98 kB / 1.542 GB, free: 4.996 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.6841, allocations: 15.97 kB / 1.542 GB, free: 4.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.6841, allocations: 12 kB / 1.542 GB, free: 4.969 MB / 1.232 GB Notification: Performance of sorting global known variables: time 8.609e-05/0.6842, allocations: 108.2 kB / 1.542 GB, free: 4.863 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6842, allocations: 0 / 1.542 GB, free: 4.863 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004119/0.6883, allocations: 1.711 MB / 1.544 GB, free: 3.148 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008677/0.697, allocations: 2.972 MB / 1.547 GB, free: 148 kB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000669/0.6976, allocations: 316.3 kB / 1.547 GB, free: 15.84 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.6977, allocations: 4 kB / 1.547 GB, free: 15.83 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.6979, allocations: 189.5 kB / 1.548 GB, free: 15.65 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.6985, allocations: 69.8 kB / 1.548 GB, free: 15.58 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/0.7039, allocations: 3.098 MB / 1.551 GB, free: 12.37 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.7041, allocations: 156.7 kB / 1.551 GB, free: 12.2 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005559/0.7046, allocations: 409 kB / 1.551 GB, free: 11.8 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.7048, allocations: 95.39 kB / 1.551 GB, free: 11.71 MB / 1.248 GB Notification: Performance of SimCode: time 6.01e-07/0.7048, allocations: 0 / 1.551 GB, free: 11.71 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7408/1.446, allocations: 64.01 MB / 1.614 GB, free: 260.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.37, allocations: 9.781 kB / 1.614 GB, free: 260.2 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.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: 23.177005677949637]