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.001008/0.001008, 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.001305/0.001305, 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.895/0.895, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.695/1.695, allocations: 377.8 MB / 0.6221 GB, free: 8.648 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.543e-06/1.543e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.592e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002304/0.00232, allocations: 2.202 MB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5437/0.5461, allocations: 133.6 MB / 1.114 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.5463, allocations: 6.625 kB / 1.114 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.5464, allocations: 48.72 kB / 1.114 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.5468, allocations: 105.1 kB / 1.114 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.5475, allocations: 313 kB / 1.114 GB, free: 20.97 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.5479, allocations: 440.8 kB / 1.114 GB, free: 20.77 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.548, allocations: 72.52 kB / 1.115 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009893/0.549, allocations: 358.2 kB / 1.115 GB, free: 20.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.5492, allocations: 156.2 kB / 1.115 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.5493, allocations: 29.56 kB / 1.115 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.5497, allocations: 268.6 kB / 1.115 GB, free: 20.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.5498, allocations: 79.22 kB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.5499, allocations: 117.5 kB / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.5505, allocations: 0.5367 MB / 1.116 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5505, allocations: 1.797 kB / 1.116 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5505, allocations: 0 / 1.116 GB, free: 20.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.5506, allocations: 0 / 1.116 GB, free: 20.2 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.00093/0.5515, allocations: 0.6357 MB / 1.117 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.5515, allocations: 10.77 kB / 1.117 GB, free: 19.76 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.5516, allocations: 60.91 kB / 1.117 GB, free: 19.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.5531, allocations: 291.2 kB / 1.117 GB, free: 19.66 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.5536, allocations: 240.5 kB / 1.117 GB, free: 19.47 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5536, allocations: 20.28 kB / 1.117 GB, free: 19.46 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.5536, allocations: 30.34 kB / 1.117 GB, free: 19.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.5545, allocations: 426.5 kB / 1.118 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.5545, allocations: 1.609 kB / 1.118 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.5545, allocations: 10.25 kB / 1.118 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5545, allocations: 6.031 kB / 1.118 GB, free: 19.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.556, allocations: 0.5247 MB / 1.118 GB, free: 19.15 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.5578, allocations: 1.023 MB / 1.119 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.559, allocations: 440.2 kB / 1.12 GB, free: 18.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.5595, allocations: 220.8 kB / 1.12 GB, free: 18.41 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.5595, allocations: 3.531 kB / 1.12 GB, free: 18.41 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.5596, allocations: 33.59 kB / 1.12 GB, free: 18.37 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.5596, allocations: 0 / 1.12 GB, free: 18.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.007598/0.5672, allocations: 1.59 MB / 1.121 GB, free: 18.02 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.5672, allocations: 55.3 kB / 1.121 GB, free: 17.96 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.5674, allocations: 312.9 kB / 1.122 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.5674, allocations: 30.77 kB / 1.122 GB, free: 17.76 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.5675, allocations: 168.4 kB / 1.122 GB, free: 17.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.5676, allocations: 88.25 kB / 1.122 GB, free: 17.54 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.5677, allocations: 75.58 kB / 1.122 GB, free: 17.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.5677, allocations: 340 kB / 1.122 GB, free: 17.18 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.5683, allocations: 205.2 kB / 1.123 GB, free: 17.12 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.5688, allocations: 372 kB / 1.123 GB, free: 16.87 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.5699, allocations: 439.3 kB / 1.123 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5699, allocations: 1.219 kB / 1.123 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003348/0.5732, allocations: 0.8927 MB / 1.124 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5732, allocations: 5.344 kB / 1.124 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5733, allocations: 0 / 1.124 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009415/0.5742, allocations: 283.5 kB / 1.125 GB, free: 16.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.5744, allocations: 67.75 kB / 1.125 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007125/0.5816, allocations: 3.847 MB / 1.128 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.5819, allocations: 75.39 kB / 1.128 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.582, allocations: 20.8 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.0001256/0.5821, allocations: 146.3 kB / 1.129 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.5822, allocations: 37.48 kB / 1.129 GB, free: 13.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.5856, allocations: 0.9414 MB / 1.13 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5856, allocations: 6.906 kB / 1.13 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.5856, allocations: 2.203 kB / 1.13 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5856, allocations: 0.7969 kB / 1.13 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.5859, allocations: 341.5 kB / 1.13 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5859, allocations: 2.125 kB / 1.13 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.5861, allocations: 49.95 kB / 1.13 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000885/0.587, allocations: 280.3 kB / 1.13 GB, free: 12.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.587, allocations: 20.03 kB / 1.13 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00677/0.5938, allocations: 3.836 MB / 1.134 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5938, allocations: 0.6562 kB / 1.134 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.5972, allocations: 0.9644 MB / 1.135 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.5972, allocations: 35.27 kB / 1.135 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.5973, allocations: 9.234 kB / 1.135 GB, free: 9.652 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.5976, allocations: 45.45 kB / 1.135 GB, free: 9.645 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.5977, allocations: 20.92 kB / 1.135 GB, free: 9.641 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.5977, allocations: 18.94 kB / 1.135 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001704/0.5979, allocations: 222.4 kB / 1.135 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5979, allocations: 1 kB / 1.135 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005345/0.5984, allocations: 111.6 kB / 1.135 GB, free: 9.508 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.003609/0.602, allocations: 1.521 MB / 1.137 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.6035, allocations: 0.7104 MB / 1.138 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6035, allocations: 0 / 1.138 GB, free: 8.285 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.6043, allocations: 0.4895 MB / 1.138 GB, free: 7.996 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.6047, allocations: 120.4 kB / 1.138 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009546/0.6143, allocations: 4.386 MB / 1.142 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.6144, allocations: 168.2 kB / 1.143 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.6147, allocations: 83.94 kB / 1.143 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.6148, allocations: 97.81 kB / 1.143 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of SimCode: time 7.81e-07/0.6148, allocations: 0 / 1.143 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.6475, allocations: 18.29 MB / 1.161 GB, free: 2.078 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.667, allocations: 10.14 kB / 1.161 GB, free: 2.07 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable theCom.M in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.M from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TOpe in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TOpe from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TAir in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TAir from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TRad in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TRad from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TSki in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TSki from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.vAir in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.vAir from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.736160508356988]