Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.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.0007672/0.0007672, 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.000763/0.000763, 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.861/0.861, allocations: 177.1 MB / 202.8 MB, free: 5.539 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.715/1.715, allocations: 389.1 MB / 0.633 GB, free: 12.66 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.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.165e-05, allocations: 5.375 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.5962/0.5962, allocations: 155.2 MB / 1.151 GB, free: 2.668 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008308/0.6045, allocations: 7.965 MB / 1.159 GB, free: 13.3 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009176/0.6054, allocations: 28.12 kB / 1.159 GB, free: 13.29 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0008097/0.6062, allocations: 313.8 kB / 1.159 GB, free: 13.09 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.607, allocations: 317.8 kB / 1.16 GB, free: 12.9 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.6081, allocations: 410.7 kB / 1.16 GB, free: 12.71 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.6093, allocations: 1.089 MB / 1.161 GB, free: 12.22 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.6098, allocations: 380.8 kB / 1.161 GB, free: 12.05 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004439/0.6143, allocations: 2.23 MB / 1.164 GB, free: 11.04 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.6148, allocations: 309.9 kB / 1.164 GB, free: 10.94 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.6149, allocations: 39.44 kB / 1.164 GB, free: 10.94 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.6151, allocations: 82.17 kB / 1.164 GB, free: 10.93 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.6154, allocations: 273.7 kB / 1.164 GB, free: 10.83 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.6156, allocations: 188.5 kB / 1.165 GB, free: 10.75 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0007704/0.6164, allocations: 0.6324 MB / 1.165 GB, free: 10.52 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6164, allocations: 1.406 kB / 1.165 GB, free: 10.52 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6164, allocations: 0 / 1.165 GB, free: 10.52 MB / 1.026 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.6164, allocations: 0 / 1.165 GB, free: 10.52 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001113/0.6175, allocations: 0.7445 MB / 1.166 GB, free: 9.969 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6175, allocations: 11.38 kB / 1.166 GB, free: 9.969 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.415e-05/0.6176, allocations: 99.05 kB / 1.166 GB, free: 9.895 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.6177, allocations: 71.7 kB / 1.166 GB, free: 9.855 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.6183, allocations: 367.5 kB / 1.166 GB, free: 9.609 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.6184, allocations: 41.31 kB / 1.166 GB, free: 9.594 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.6184, allocations: 50.42 kB / 1.166 GB, free: 9.578 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009734/0.6194, allocations: 0.7063 MB / 1.167 GB, free: 9.156 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6194, allocations: 2.188 kB / 1.167 GB, free: 9.156 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.6195, allocations: 25.11 kB / 1.167 GB, free: 9.141 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/0.6195, allocations: 35.08 kB / 1.167 GB, free: 9.133 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.62, allocations: 373.5 kB / 1.168 GB, free: 9.02 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.622, allocations: 3.061 MB / 1.171 GB, free: 6.379 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.6222, allocations: 217.5 kB / 1.171 GB, free: 6.117 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.6224, allocations: 132.8 kB / 1.171 GB, free: 6.012 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.6224, allocations: 7.75 kB / 1.171 GB, free: 6.008 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.6224, allocations: 42.72 kB / 1.171 GB, free: 5.965 MB / 1.026 GB Notification: Performance of pre-optimization done (n=10): time 2.895e-06/0.6224, allocations: 1.812 kB / 1.171 GB, free: 5.965 MB / 1.026 GB Notification: Performance of matching and sorting (n=10): time 0.0005073/0.6229, allocations: 248.2 kB / 1.171 GB, free: 5.855 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.6231, allocations: 300 kB / 1.171 GB, free: 5.5 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.6238, allocations: 0.6752 MB / 1.172 GB, free: 5.223 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.6238, allocations: 28.2 kB / 1.172 GB, free: 5.191 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.6239, allocations: 266.9 kB / 1.172 GB, free: 4.977 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.624, allocations: 39.5 kB / 1.172 GB, free: 4.945 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.624, allocations: 30.95 kB / 1.172 GB, free: 4.922 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6242, allocations: 369.4 kB / 1.173 GB, free: 4.586 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.6242, allocations: 37.23 kB / 1.173 GB, free: 4.578 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.6244, allocations: 226.9 kB / 1.173 GB, free: 4.359 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.6246, allocations: 126.9 kB / 1.173 GB, free: 4.285 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6246, allocations: 4.609 kB / 1.173 GB, free: 4.281 MB / 1.026 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002305/0.6248, allocations: 189.9 kB / 1.173 GB, free: 4.191 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6248, allocations: 6.375 kB / 1.173 GB, free: 4.191 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6248, allocations: 2.141 kB / 1.173 GB, free: 4.191 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6248, allocations: 2.406 kB / 1.173 GB, free: 4.191 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.625, allocations: 46.39 kB / 1.173 GB, free: 4.184 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.625, allocations: 9.312 kB / 1.173 GB, free: 4.176 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6251, allocations: 61.48 kB / 1.174 GB, free: 4.137 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.6252, allocations: 7.234 kB / 1.174 GB, free: 4.137 MB / 1.026 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 (10): * Single equations (assignments): 10 * 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.0001849/0.6253, allocations: 201.1 kB / 1.174 GB, free: 3.992 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.6255, allocations: 59.39 kB / 1.174 GB, free: 3.961 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.6255, allocations: 59.23 kB / 1.174 GB, free: 3.93 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6255, allocations: 2.406 kB / 1.174 GB, free: 3.93 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.6255, allocations: 7.594 kB / 1.174 GB, free: 3.926 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6256, allocations: 7.5 kB / 1.174 GB, free: 3.922 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.6266, allocations: 1.237 MB / 1.175 GB, free: 2.863 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6266, allocations: 3.25 kB / 1.175 GB, free: 2.863 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.6267, allocations: 38.27 kB / 1.175 GB, free: 2.863 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.6267, allocations: 4.938 kB / 1.175 GB, free: 2.863 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.6267, allocations: 9.562 kB / 1.175 GB, free: 2.859 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.6267, allocations: 8.297 kB / 1.175 GB, free: 2.855 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6267, allocations: 2.969 kB / 1.175 GB, free: 2.855 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.6273, allocations: 331.7 kB / 1.175 GB, free: 2.594 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6274, allocations: 70.61 kB / 1.175 GB, free: 2.555 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.6274, allocations: 9.812 kB / 1.176 GB, free: 2.551 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.6275, allocations: 6.984 kB / 1.176 GB, free: 2.551 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.6276, allocations: 25.91 kB / 1.176 GB, free: 2.535 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.6276, allocations: 4.75 kB / 1.176 GB, free: 2.535 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004608/0.628, allocations: 499.6 kB / 1.176 GB, free: 2.336 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.91e-07/0.628, allocations: 0 / 1.176 GB, free: 2.336 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003126/0.6284, allocations: 84.64 kB / 1.176 GB, free: 2.324 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0005998/0.629, allocations: 0.8842 MB / 1.177 GB, free: 1.527 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.6292, allocations: 109.9 kB / 1.177 GB, free: 1.5 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6292, allocations: 0 / 1.177 GB, free: 1.5 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.6293, allocations: 56.11 kB / 1.177 GB, free: 1.488 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007809/0.63, allocations: 273.4 kB / 1.177 GB, free: 1.406 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.6346, allocations: 4.433 MB / 1.182 GB, free: 15.02 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.6348, allocations: 309.1 kB / 1.182 GB, free: 14.91 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0002992/0.6351, allocations: 102.1 kB / 1.182 GB, free: 14.89 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.6353, allocations: 169.2 kB / 1.182 GB, free: 14.77 MB / 1.042 GB Notification: Performance of SimCode: time 1.172e-06/0.6353, allocations: 3.938 kB / 1.182 GB, free: 14.77 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.6667, allocations: 14.84 MB / 1.197 GB, free: 10.27 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/7.304, allocations: 4.344 kB / 1.197 GB, free: 10.27 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.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: 11.28106561396271]