Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008313/0.0008313, 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.001364/0.001364, 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.9378/0.9378, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.824/1.824, allocations: 389 MB / 0.633 GB, free: 12.7 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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.656e-05, allocations: 5.234 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002288/0.002304, allocations: 2.183 MB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5869/0.5893, allocations: 133.6 MB / 1.132 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.5895, allocations: 7.344 kB / 1.132 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.5897, allocations: 51.42 kB / 1.132 GB, free: 15.7 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.5901, allocations: 104.8 kB / 1.132 GB, free: 15.62 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/0.5909, allocations: 308.5 kB / 1.133 GB, free: 15.46 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.5914, allocations: 444 kB / 1.133 GB, free: 15.25 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.5916, allocations: 71.12 kB / 1.133 GB, free: 15.22 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.5926, allocations: 354.7 kB / 1.134 GB, free: 15.12 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.5928, allocations: 148.4 kB / 1.134 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.5929, allocations: 30 kB / 1.134 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.5934, allocations: 268.4 kB / 1.134 GB, free: 15.01 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.5935, allocations: 78.25 kB / 1.134 GB, free: 14.96 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.5936, allocations: 117.5 kB / 1.134 GB, free: 14.91 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0006572/0.5943, allocations: 0.5383 MB / 1.135 GB, free: 14.7 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5943, allocations: 0 / 1.135 GB, free: 14.7 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5943, allocations: 0 / 1.135 GB, free: 14.7 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5943, allocations: 1.922 kB / 1.135 GB, free: 14.7 MB / 1.01 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.0009479/0.5952, allocations: 0.6394 MB / 1.135 GB, free: 14.25 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5953, allocations: 11.09 kB / 1.135 GB, free: 14.25 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.5953, allocations: 61.58 kB / 1.135 GB, free: 14.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.597, allocations: 316.3 kB / 1.136 GB, free: 14.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.5974, allocations: 249.3 kB / 1.136 GB, free: 13.96 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.5974, allocations: 19.52 kB / 1.136 GB, free: 13.95 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.5975, allocations: 31.16 kB / 1.136 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008964/0.5984, allocations: 437.7 kB / 1.136 GB, free: 13.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.5984, allocations: 0 / 1.136 GB, free: 13.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.5984, allocations: 10.12 kB / 1.136 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.5984, allocations: 6.5 kB / 1.136 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.5997, allocations: 0.5247 MB / 1.137 GB, free: 13.64 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.6017, allocations: 1.041 MB / 1.138 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.6029, allocations: 440.4 kB / 1.138 GB, free: 12.96 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.6035, allocations: 217.2 kB / 1.139 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.6035, allocations: 4.734 kB / 1.139 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6035, allocations: 36.45 kB / 1.139 GB, free: 12.85 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/0.6035, allocations: 0 / 1.139 GB, free: 12.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.007938/0.6115, allocations: 1.581 MB / 1.14 GB, free: 12.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.6115, allocations: 55.19 kB / 1.14 GB, free: 12.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.6118, allocations: 312.4 kB / 1.14 GB, free: 12.28 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.6119, allocations: 31.73 kB / 1.141 GB, free: 12.24 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.612, allocations: 176.2 kB / 1.141 GB, free: 12.09 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6121, allocations: 87.28 kB / 1.141 GB, free: 12.02 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.6122, allocations: 76.2 kB / 1.141 GB, free: 11.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6123, allocations: 340.3 kB / 1.141 GB, free: 11.66 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.6129, allocations: 205.2 kB / 1.141 GB, free: 11.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.6135, allocations: 361.6 kB / 1.142 GB, free: 11.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.6147, allocations: 441.8 kB / 1.142 GB, free: 11.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6147, allocations: 0 / 1.142 GB, free: 11.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003659/0.6184, allocations: 0.9037 MB / 1.143 GB, free: 10.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6184, allocations: 6.469 kB / 1.143 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6184, allocations: 1.344 kB / 1.143 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.6194, allocations: 276.7 kB / 1.143 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.6197, allocations: 70.17 kB / 1.143 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.6277, allocations: 3.856 MB / 1.147 GB, free: 8.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.6282, allocations: 77.8 kB / 1.147 GB, free: 8.039 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/0.6283, allocations: 17.67 kB / 1.147 GB, free: 8.039 MB / 1.01 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.0002007/0.6285, allocations: 148.4 kB / 1.147 GB, free: 7.898 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.6285, allocations: 34.08 kB / 1.147 GB, free: 7.879 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.6323, allocations: 0.9608 MB / 1.148 GB, free: 7.602 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6323, allocations: 2.469 kB / 1.148 GB, free: 7.602 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6323, allocations: 1.969 kB / 1.148 GB, free: 7.602 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.6323, allocations: 1.359 kB / 1.148 GB, free: 7.602 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.6363, allocations: 1.268 MB / 1.15 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.6363, allocations: 1.062 kB / 1.15 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.6366, allocations: 55.16 kB / 1.15 GB, free: 7.043 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.6376, allocations: 286.1 kB / 1.15 GB, free: 6.977 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.6376, allocations: 16.58 kB / 1.15 GB, free: 6.973 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00782/0.6454, allocations: 3.836 MB / 1.154 GB, free: 4.188 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6454, allocations: 12.2 kB / 1.154 GB, free: 4.18 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.6492, allocations: 0.9778 MB / 1.155 GB, free: 3.82 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.6493, allocations: 36.8 kB / 1.155 GB, free: 3.797 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.6493, allocations: 5.922 kB / 1.155 GB, free: 3.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.6497, allocations: 45.42 kB / 1.155 GB, free: 3.785 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.6498, allocations: 26.23 kB / 1.155 GB, free: 3.777 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.6498, allocations: 15.83 kB / 1.155 GB, free: 3.777 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002119/0.65, allocations: 224.6 kB / 1.155 GB, free: 3.652 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.65, allocations: 0 / 1.155 GB, free: 3.652 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005452/0.6506, allocations: 113.9 kB / 1.155 GB, free: 3.637 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.003895/0.6545, allocations: 1.523 MB / 1.157 GB, free: 2.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.6562, allocations: 0.7127 MB / 1.157 GB, free: 2.402 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6562, allocations: 1.406 kB / 1.157 GB, free: 2.402 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.657, allocations: 0.4905 MB / 1.158 GB, free: 2.113 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.6576, allocations: 113.4 kB / 1.158 GB, free: 2.078 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.6688, allocations: 4.455 MB / 1.162 GB, free: 15.89 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.669, allocations: 162.9 kB / 1.162 GB, free: 15.8 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0003816/0.6694, allocations: 88.61 kB / 1.162 GB, free: 15.76 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.6696, allocations: 102.7 kB / 1.163 GB, free: 15.69 MB / 1.026 GB Notification: Performance of SimCode: time 1.964e-06/0.6696, allocations: 4 kB / 1.163 GB, free: 15.68 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03997/0.7095, allocations: 18.17 MB / 1.18 GB, free: 9.801 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.732, allocations: 7.219 kB / 1.18 GB, free: 9.797 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable theCom.M in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.M from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TOpe in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TOpe from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TAir in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TAir from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TRad in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TRad from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TSki in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TSki from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.vAir in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.vAir from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.05491684190929]