Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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.001899/0.001899, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002197/0.002197, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.44/1.44, 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.556/2.556, allocations: 443.5 MB / 0.7287 GB, free: 13.26 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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 75.88 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8398, allocations: 160.7 MB / 1.213 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001713/0.8416, allocations: 0.5253 MB / 1.213 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001344/0.8417, allocations: 19.91 kB / 1.213 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.8417, allocations: 0 / 1.213 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.8417, allocations: 0 / 1.213 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.8419, allocations: 11.86 kB / 1.213 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.8419, allocations: 0 / 1.213 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.219e-05/0.8419, allocations: 4 kB / 1.213 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.842, allocations: 1.891 kB / 1.213 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.842, allocations: 12 kB / 1.213 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.8421, allocations: 0 / 1.213 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.8421, allocations: 0 / 1.213 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.771e-06/0.8421, allocations: 0 / 1.213 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.8421, allocations: 0 / 1.213 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.8421, allocations: 11.92 kB / 1.213 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.075e-05/0.8422, allocations: 3.984 kB / 1.213 GB, free: 4.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8422, allocations: 0 / 1.213 GB, free: 4.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8422, allocations: 0 / 1.213 GB, free: 4.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.8422, allocations: 0 / 1.213 GB, free: 4.844 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003353/0.8425, allocations: 317.4 kB / 1.214 GB, free: 4.484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8426, allocations: 12.62 kB / 1.214 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.8426, allocations: 38.69 kB / 1.214 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.8426, allocations: 4.938 kB / 1.214 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.8427, allocations: 168.3 kB / 1.214 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8428, allocations: 384 / 1.214 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.8428, allocations: 4.375 kB / 1.214 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.8429, allocations: 35.98 kB / 1.214 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8429, allocations: 15.92 kB / 1.214 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.8429, allocations: 0 / 1.214 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.8429, allocations: 0 / 1.214 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.8429, allocations: 7.922 kB / 1.214 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.8431, allocations: 158.5 kB / 1.214 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.935e-05/0.8431, allocations: 37.28 kB / 1.214 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.8432, allocations: 21.59 kB / 1.214 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.8432, allocations: 8.047 kB / 1.214 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.8432, allocations: 30.56 kB / 1.214 GB, free: 3.809 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8432, allocations: 0 / 1.214 GB, free: 3.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.8434, allocations: 45.58 kB / 1.214 GB, free: 3.758 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.8434, allocations: 81.11 kB / 1.214 GB, free: 3.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/0.8435, allocations: 98.09 kB / 1.215 GB, free: 3.555 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.8435, allocations: 25.7 kB / 1.215 GB, free: 3.523 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.8435, allocations: 80.14 kB / 1.215 GB, free: 3.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8436, allocations: 7.953 kB / 1.215 GB, free: 3.434 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.8436, allocations: 13.72 kB / 1.215 GB, free: 3.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8437, allocations: 310.8 kB / 1.215 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.8437, allocations: 4 kB / 1.215 GB, free: 3.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.8438, allocations: 17.84 kB / 1.215 GB, free: 3.074 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.8438, allocations: 21.64 kB / 1.215 GB, free: 3.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8438, allocations: 4 kB / 1.215 GB, free: 3.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.556e-05/0.8439, allocations: 37.7 kB / 1.215 GB, free: 3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.8439, allocations: 11.88 kB / 1.215 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8439, allocations: 0 / 1.215 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8439, allocations: 128 / 1.215 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.844, allocations: 11.98 kB / 1.215 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.844, allocations: 0 / 1.215 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.844, allocations: 4 kB / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.844, allocations: 0 / 1.215 GB, free: 2.973 MB / 0.92 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 7.267e-05/0.8441, allocations: 105.8 kB / 1.215 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.8441, allocations: 7.938 kB / 1.215 GB, free: 2.852 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.8442, allocations: 52.78 kB / 1.215 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8442, allocations: 0 / 1.215 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.8442, allocations: 0 / 1.215 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.8442, allocations: 0 / 1.215 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.8443, allocations: 157.6 kB / 1.215 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.8443, allocations: 0 / 1.215 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.612e-05/0.8443, allocations: 4 kB / 1.215 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.8443, allocations: 3.938 kB / 1.215 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.8444, allocations: 0 / 1.215 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.8444, allocations: 8 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.8444, allocations: 3.938 kB / 1.215 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.348e-05/0.8444, allocations: 73.95 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.8445, allocations: 77.11 kB / 1.216 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.8445, allocations: 7.938 kB / 1.216 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.8445, allocations: 3.938 kB / 1.216 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.8445, allocations: 3.984 kB / 1.216 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.8445, allocations: 4 kB / 1.216 GB, free: 2.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.8446, allocations: 79.31 kB / 1.216 GB, free: 2.281 MB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.8446, allocations: 0 / 1.216 GB, free: 2.281 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001793/0.8448, allocations: 0 / 1.216 GB, free: 2.281 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004201/0.8452, allocations: 0.6119 MB / 1.216 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.827e-05/0.8453, allocations: 12 kB / 1.216 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8453, allocations: 0 / 1.216 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.8453, allocations: 7.938 kB / 1.216 GB, free: 1.617 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.8454, allocations: 10.75 kB / 1.216 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.8457, allocations: 119.4 kB / 1.216 GB, free: 1.449 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.846, allocations: 0.677 MB / 1.217 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.846, allocations: 3.984 kB / 1.217 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.8461, allocations: 7.438 kB / 1.217 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of SimCode: time 5.01e-07/0.8461, allocations: 4 kB / 1.217 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.8681, allocations: 0.9255 MB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.154/10.02, allocations: 2.891 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_10_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example8.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: 18.1241767257452]