Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.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.001334/0.001334, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.00141/0.00141, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.365/3.365, allocations: 0.49 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger",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.00298/0.00298, allocations: 65.44 kB / 1.149 GB, free: 26.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.354, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.0037/0.3577, allocations: 2.337 MB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1902/0.5479, allocations: 155.3 MB / 1.475 GB, free: 5.094 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.5481, allocations: 7.938 kB / 1.475 GB, free: 5.086 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.5483, allocations: 43.47 kB / 1.475 GB, free: 5.043 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.5487, allocations: 99.19 kB / 1.475 GB, free: 4.945 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.5495, allocations: 306.9 kB / 1.475 GB, free: 4.645 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.55, allocations: 423.8 kB / 1.476 GB, free: 4.223 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.5502, allocations: 91.69 kB / 1.476 GB, free: 4.137 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.5518, allocations: 283.7 kB / 1.476 GB, free: 3.883 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.5521, allocations: 175.3 kB / 1.476 GB, free: 3.711 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.5521, allocations: 32 kB / 1.476 GB, free: 3.68 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.5528, allocations: 287.6 kB / 1.476 GB, free: 3.398 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.5529, allocations: 79.72 kB / 1.476 GB, free: 3.32 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.5531, allocations: 167.2 kB / 1.477 GB, free: 3.156 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007446/0.5538, allocations: 0.4903 MB / 1.477 GB, free: 2.664 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5538, allocations: 4 kB / 1.477 GB, free: 2.66 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5538, allocations: 0 / 1.477 GB, free: 2.66 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5538, allocations: 3.938 kB / 1.477 GB, free: 2.656 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00171/0.5555, allocations: 0.7205 MB / 1.478 GB, free: 1.883 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5556, allocations: 11.98 kB / 1.478 GB, free: 1.871 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.699e-05/0.5557, allocations: 62.67 kB / 1.478 GB, free: 1.801 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/0.559, allocations: 287.4 kB / 1.478 GB, free: 1.52 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.5594, allocations: 311.4 kB / 1.478 GB, free: 1.176 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.5594, allocations: 20.56 kB / 1.478 GB, free: 1.156 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.5595, allocations: 24 kB / 1.479 GB, free: 1.133 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.5611, allocations: 436.5 kB / 1.479 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5611, allocations: 0 / 1.479 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.5612, allocations: 15.94 kB / 1.479 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5612, allocations: 4 kB / 1.479 GB, free: 0.6797 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.5637, allocations: 0.5291 MB / 1.479 GB, free: 156 kB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.567, allocations: 1.136 MB / 1.481 GB, free: 14.96 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.5695, allocations: 438.4 kB / 1.481 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.5706, allocations: 220.7 kB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/0.5707, allocations: 4 kB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.5707, allocations: 38.48 kB / 1.481 GB, free: 14.25 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.5707, allocations: 4 kB / 1.481 GB, free: 14.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.01698/0.5877, allocations: 1.73 MB / 1.483 GB, free: 12.47 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.5877, allocations: 55.41 kB / 1.483 GB, free: 12.41 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.5882, allocations: 308.5 kB / 1.483 GB, free: 12.1 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/0.5882, allocations: 25.7 kB / 1.483 GB, free: 12.07 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.5884, allocations: 172.4 kB / 1.483 GB, free: 11.89 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5885, allocations: 95.2 kB / 1.484 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.5887, allocations: 77.88 kB / 1.484 GB, free: 11.71 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5888, allocations: 346.7 kB / 1.484 GB, free: 11.37 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.5899, allocations: 200.4 kB / 1.484 GB, free: 11.17 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.5912, allocations: 259 kB / 1.484 GB, free: 10.9 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.5934, allocations: 434.8 kB / 1.485 GB, free: 10.46 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5934, allocations: 0 / 1.485 GB, free: 10.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007309/0.6007, allocations: 0.8929 MB / 1.486 GB, free: 9.559 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.6007, allocations: 7.984 kB / 1.486 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.6007, allocations: 4 kB / 1.486 GB, free: 9.547 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.6027, allocations: 277.4 kB / 1.486 GB, free: 9.27 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.6033, allocations: 71.81 kB / 1.486 GB, free: 9.199 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01571/0.619, allocations: 4.099 MB / 1.49 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/0.6199, allocations: 75.69 kB / 1.49 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.819e-05/0.6199, allocations: 19.97 kB / 1.49 GB, free: 4.727 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002346/0.6202, allocations: 141.7 kB / 1.49 GB, free: 4.578 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.6203, allocations: 31.81 kB / 1.49 GB, free: 4.547 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/0.6279, allocations: 0.9464 MB / 1.491 GB, free: 3.59 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.628, allocations: 11.98 kB / 1.491 GB, free: 3.578 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.628, allocations: 0 / 1.491 GB, free: 3.578 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.628, allocations: 0 / 1.491 GB, free: 3.578 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.6286, allocations: 425 kB / 1.492 GB, free: 3.113 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6286, allocations: 0 / 1.492 GB, free: 3.113 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/0.629, allocations: 55.89 kB / 1.492 GB, free: 3.059 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.631, allocations: 273.4 kB / 1.492 GB, free: 2.785 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.631, allocations: 15.97 kB / 1.492 GB, free: 2.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/0.6467, allocations: 4.084 MB / 1.496 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6467, allocations: 7.969 kB / 1.496 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007245/0.6539, allocations: 0.9535 MB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.6541, allocations: 116.8 kB / 1.497 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.6542, allocations: 8 kB / 1.497 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/0.6549, allocations: 39.95 kB / 1.497 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-05/0.655, allocations: 27.91 kB / 1.497 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.6551, allocations: 19.97 kB / 1.497 GB, free: 13.18 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002802/0.6553, allocations: 223.1 kB / 1.497 GB, free: 12.97 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6553, allocations: 0 / 1.497 GB, free: 12.97 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006439/0.656, allocations: 111.9 kB / 1.497 GB, free: 12.86 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007836/0.6638, allocations: 1.529 MB / 1.499 GB, free: 11.3 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002997/0.6668, allocations: 0.7083 MB / 1.5 GB, free: 10.56 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6668, allocations: 0 / 1.5 GB, free: 10.56 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.6685, allocations: 0.4933 MB / 1.5 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.6692, allocations: 119.1 kB / 1.5 GB, free: 9.93 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/0.6894, allocations: 4.375 MB / 1.504 GB, free: 5.457 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.6899, allocations: 0.7723 MB / 1.505 GB, free: 4.656 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000494/0.6904, allocations: 82.86 kB / 1.505 GB, free: 4.574 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.6907, allocations: 95.39 kB / 1.505 GB, free: 4.48 MB / 1.201 GB Notification: Performance of SimCode: time 1.513e-06/0.6907, allocations: 0 / 1.505 GB, free: 4.48 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05698/0.7476, allocations: 16.7 MB / 1.522 GB, free: 3.953 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.58, allocations: 8 kB / 1.522 GB, free: 3.945 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.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: 20.507124888012186]