Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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.001443/0.001443, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001592/0.001592, allocations: 214.9 kB / 22.25 MB, free: 5.121 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.323/1.323, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 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 2.954/2.954, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",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: 64.08 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3168, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.00166/0.3185, allocations: 0.5328 MB / 1.353 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.3187, allocations: 48.27 kB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.3187, allocations: 0 / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.3188, allocations: 7.938 kB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.3189, allocations: 4 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.819e-05/0.319, allocations: 3.984 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.622e-05/0.319, allocations: 11.94 kB / 1.353 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.3191, allocations: 4 kB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.3191, allocations: 3.984 kB / 1.353 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.3192, allocations: 15.92 kB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3192, allocations: 0 / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.3192, allocations: 0 / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.3192, allocations: 7.984 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.3193, allocations: 11.94 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.325e-05/0.3193, allocations: 12.16 kB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3193, allocations: 3.984 kB / 1.354 GB, free: 7.84 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3193, allocations: 0 / 1.354 GB, free: 7.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3193, allocations: 0 / 1.354 GB, free: 7.84 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004055/0.3198, allocations: 256.4 kB / 1.354 GB, free: 7.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3198, allocations: 8.031 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.378e-05/0.3198, allocations: 38.69 kB / 1.354 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.3198, allocations: 4.891 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.32, allocations: 122.5 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.32, allocations: 4.375 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.32, allocations: 384 / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.994e-05/0.3201, allocations: 38.25 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3201, allocations: 3.938 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.3201, allocations: 0 / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3201, allocations: 0 / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.879e-05/0.3202, allocations: 4 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3203, allocations: 128.8 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.3204, allocations: 26.52 kB / 1.354 GB, free: 7.098 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.3204, allocations: 8.844 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3204, allocations: 3.984 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3204, allocations: 30.62 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3204, allocations: 4 kB / 1.354 GB, free: 7.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.3206, allocations: 45.58 kB / 1.354 GB, free: 6.988 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3206, allocations: 59.47 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.3207, allocations: 113.8 kB / 1.354 GB, free: 6.797 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3207, allocations: 25.7 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.3208, allocations: 80.14 kB / 1.354 GB, free: 6.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3208, allocations: 4 kB / 1.354 GB, free: 6.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.3208, allocations: 17.7 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3209, allocations: 310.8 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.321, allocations: 4 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.321, allocations: 21.7 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.321, allocations: 21.72 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.321, allocations: 3.938 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.88e-05/0.3211, allocations: 53.58 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3211, allocations: 11.94 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3211, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3211, allocations: 4.125 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.3212, allocations: 8.234 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3212, allocations: 0 / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.3212, allocations: 4 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3212, allocations: 4 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.151e-05/0.3213, allocations: 113.7 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.3213, allocations: 3.938 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.3214, allocations: 53.14 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3214, allocations: 4.031 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3214, allocations: 0 / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3214, allocations: 0 / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3216, allocations: 128.8 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3216, allocations: 0 / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.3216, allocations: 7.938 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3216, allocations: 3.938 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3216, allocations: 0 / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3216, allocations: 0 / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3216, allocations: 0 / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.3217, allocations: 89 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.3218, allocations: 0 / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.3218, allocations: 11.97 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.3218, allocations: 0 / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.3218, allocations: 3.984 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3218, allocations: 0 / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.3219, allocations: 87.28 kB / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3219, allocations: 0 / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000176/0.3221, allocations: 8.094 kB / 1.355 GB, free: 5.605 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004186/0.3225, allocations: 0.6046 MB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.3226, allocations: 19.98 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3226, allocations: 224 / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.3226, allocations: 11.98 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.3227, allocations: 0 / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3237, allocations: 1.154 MB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.324, allocations: 0.6807 MB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.324, allocations: 0 / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.3241, allocations: 15.44 kB / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.3241, allocations: 0 / 1.358 GB, free: 2.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.3541, allocations: 1.312 MB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.61, allocations: 12.28 kB / 1.359 GB, free: 1.793 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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: 16.664878273149952]