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.0009314/0.0009314, 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.001062/0.001062, 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.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.735/1.735, allocations: 377.8 MB / 0.6221 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.199e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002573/0.002585, allocations: 2.198 MB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5565/0.5591, allocations: 133.6 MB / 1.114 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002762/0.5594, allocations: 6.406 kB / 1.114 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.5596, allocations: 52.41 kB / 1.114 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.56, allocations: 106 kB / 1.114 GB, free: 21.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.5608, allocations: 308.1 kB / 1.114 GB, free: 20.97 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.5613, allocations: 440 kB / 1.114 GB, free: 20.76 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.5615, allocations: 74.09 kB / 1.115 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.5625, allocations: 362.6 kB / 1.115 GB, free: 20.61 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.5627, allocations: 147.3 kB / 1.115 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.5628, allocations: 34.38 kB / 1.115 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.5634, allocations: 268.5 kB / 1.115 GB, free: 20.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.118e-05/0.5634, allocations: 79.23 kB / 1.115 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.5635, allocations: 117 kB / 1.115 GB, free: 20.4 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.5642, allocations: 0.5374 MB / 1.116 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.5642, allocations: 3.938 kB / 1.116 GB, free: 20.19 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5642, allocations: 1 kB / 1.116 GB, free: 20.19 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5642, allocations: 0 / 1.116 GB, free: 20.19 MB / 0.9948 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.0009027/0.5651, allocations: 0.6367 MB / 1.117 GB, free: 19.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5652, allocations: 9.219 kB / 1.117 GB, free: 19.75 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.424e-05/0.5652, allocations: 61.69 kB / 1.117 GB, free: 19.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.5668, allocations: 285.9 kB / 1.117 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.5671, allocations: 245.1 kB / 1.117 GB, free: 19.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5671, allocations: 24.66 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.5671, allocations: 26.34 kB / 1.117 GB, free: 19.44 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/0.568, allocations: 431.5 kB / 1.118 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.568, allocations: 0 / 1.118 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.5681, allocations: 11.39 kB / 1.118 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.5681, allocations: 6.438 kB / 1.118 GB, free: 19.29 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.5694, allocations: 0.5236 MB / 1.118 GB, free: 19.14 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.5713, allocations: 1.02 MB / 1.119 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.5725, allocations: 443.6 kB / 1.12 GB, free: 18.47 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.5731, allocations: 216.3 kB / 1.12 GB, free: 18.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.5731, allocations: 8.125 kB / 1.12 GB, free: 18.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.5732, allocations: 36.81 kB / 1.12 GB, free: 18.36 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 2.916e-06/0.5732, allocations: 0 / 1.12 GB, free: 18.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.007817/0.581, allocations: 1.591 MB / 1.121 GB, free: 18.01 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.581, allocations: 54.41 kB / 1.121 GB, free: 17.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.5812, allocations: 308.8 kB / 1.122 GB, free: 17.78 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.5813, allocations: 31.95 kB / 1.122 GB, free: 17.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.5814, allocations: 168.2 kB / 1.122 GB, free: 17.6 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.5814, allocations: 87.78 kB / 1.122 GB, free: 17.53 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.5815, allocations: 74.27 kB / 1.122 GB, free: 17.49 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/0.5816, allocations: 340 kB / 1.122 GB, free: 17.17 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005488/0.5821, allocations: 202.5 kB / 1.123 GB, free: 17.11 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.5827, allocations: 368.2 kB / 1.123 GB, free: 16.87 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.5838, allocations: 435.8 kB / 1.123 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5838, allocations: 0 / 1.123 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00353/0.5874, allocations: 0.9037 MB / 1.124 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5874, allocations: 6.406 kB / 1.124 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5874, allocations: 1.562 kB / 1.124 GB, free: 16.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009934/0.5884, allocations: 278.6 kB / 1.125 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.5886, allocations: 67.3 kB / 1.125 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/0.5963, allocations: 3.842 MB / 1.128 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.5968, allocations: 76.53 kB / 1.128 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.5968, allocations: 17.81 kB / 1.128 GB, free: 13.56 MB / 0.9948 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.0001713/0.597, allocations: 143.8 kB / 1.129 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.597, allocations: 34.27 kB / 1.129 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00363/0.6007, allocations: 0.9542 MB / 1.13 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.6007, allocations: 2.656 kB / 1.13 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6007, allocations: 2.016 kB / 1.13 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6007, allocations: 1.594 kB / 1.13 GB, free: 13.12 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.601, allocations: 337.1 kB / 1.13 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.601, allocations: 0.7031 kB / 1.13 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.6012, allocations: 59.59 kB / 1.13 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009042/0.6022, allocations: 276.4 kB / 1.13 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.6022, allocations: 18 kB / 1.13 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007067/0.6093, allocations: 3.845 MB / 1.134 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6093, allocations: 0 / 1.134 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003558/0.6128, allocations: 0.9574 MB / 1.135 GB, free: 9.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.6129, allocations: 34.84 kB / 1.135 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.6129, allocations: 9.875 kB / 1.135 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.6133, allocations: 46.03 kB / 1.135 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.6134, allocations: 19.89 kB / 1.135 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.6134, allocations: 14.81 kB / 1.135 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001705/0.6136, allocations: 227.2 kB / 1.135 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6136, allocations: 0 / 1.135 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000513/0.6141, allocations: 111.8 kB / 1.135 GB, free: 9.504 MB / 0.9948 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.003803/0.6179, allocations: 1.522 MB / 1.137 GB, free: 8.629 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.6195, allocations: 0.7136 MB / 1.138 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6195, allocations: 1.219 kB / 1.138 GB, free: 8.277 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.6203, allocations: 496 kB / 1.138 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.6208, allocations: 118 kB / 1.138 GB, free: 7.949 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.631, allocations: 4.402 MB / 1.142 GB, free: 5.773 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.6312, allocations: 165 kB / 1.143 GB, free: 5.688 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003304/0.6315, allocations: 74.95 kB / 1.143 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.6317, allocations: 102 kB / 1.143 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of SimCode: time 1.052e-06/0.6317, allocations: 1.062 kB / 1.143 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/0.6733, allocations: 18.29 MB / 1.161 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.682, allocations: 11.92 kB / 1.161 GB, free: 2.023 MB / 0.9948 GB " [Timeout remaining time 291] (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/jenkins/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: 12.793134154751897]