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.001367/0.001367, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001551/0.001551, allocations: 220.2 kB / 22.25 MB, free: 5.258 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.805 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.251/3.251, allocations: 0.49 GB / 0.7951 GB, free: 35.47 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.003381/0.003381, allocations: 61.12 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4014, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.0047/0.4061, allocations: 2.19 MB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.184/0.5901, allocations: 133.6 MB / 1.458 GB, free: 9.191 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.5903, allocations: 7.938 kB / 1.458 GB, free: 9.184 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.5906, allocations: 51.45 kB / 1.459 GB, free: 9.133 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.5909, allocations: 99.19 kB / 1.459 GB, free: 9.035 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.5917, allocations: 307 kB / 1.459 GB, free: 8.734 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.5922, allocations: 427.7 kB / 1.459 GB, free: 8.309 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.5924, allocations: 84.11 kB / 1.459 GB, free: 8.223 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.5939, allocations: 295.7 kB / 1.46 GB, free: 7.957 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.5942, allocations: 183.2 kB / 1.46 GB, free: 7.777 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.5943, allocations: 32 kB / 1.46 GB, free: 7.746 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005673/0.5948, allocations: 271.6 kB / 1.46 GB, free: 7.48 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.5949, allocations: 87.72 kB / 1.46 GB, free: 7.395 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.5951, allocations: 131.4 kB / 1.46 GB, free: 7.266 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.5958, allocations: 0.4941 MB / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5958, allocations: 0 / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5958, allocations: 0 / 1.461 GB, free: 6.77 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.5958, allocations: 4 kB / 1.461 GB, free: 6.766 MB / 1.154 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.001426/0.5972, allocations: 0.6375 MB / 1.461 GB, free: 6.098 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.5973, allocations: 12.03 kB / 1.461 GB, free: 6.086 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.289e-05/0.5973, allocations: 62.72 kB / 1.462 GB, free: 6.016 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.6003, allocations: 287.4 kB / 1.462 GB, free: 5.734 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.6007, allocations: 249.6 kB / 1.462 GB, free: 5.465 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.6008, allocations: 20.66 kB / 1.462 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.6008, allocations: 24 kB / 1.462 GB, free: 5.422 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6023, allocations: 433.8 kB / 1.462 GB, free: 4.992 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6023, allocations: 0 / 1.462 GB, free: 4.992 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.6023, allocations: 11.94 kB / 1.463 GB, free: 4.98 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.6023, allocations: 8 kB / 1.463 GB, free: 4.973 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.6046, allocations: 0.5178 MB / 1.463 GB, free: 4.453 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003073/0.6077, allocations: 1.034 MB / 1.464 GB, free: 3.375 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.6098, allocations: 438.4 kB / 1.464 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.6108, allocations: 216.7 kB / 1.465 GB, free: 2.723 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.6109, allocations: 7.938 kB / 1.465 GB, free: 2.715 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.6109, allocations: 42.5 kB / 1.465 GB, free: 2.664 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.6109, allocations: 0 / 1.465 GB, free: 2.664 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01468/0.6256, allocations: 1.582 MB / 1.466 GB, free: 1.07 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.6256, allocations: 51.41 kB / 1.466 GB, free: 1.008 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.626, allocations: 300.6 kB / 1.467 GB, free: 0.707 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.6261, allocations: 33.7 kB / 1.467 GB, free: 0.668 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.6263, allocations: 176.5 kB / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.6264, allocations: 87.22 kB / 1.467 GB, free: 416 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.6265, allocations: 77.92 kB / 1.467 GB, free: 328 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6267, allocations: 338.8 kB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.6277, allocations: 208.4 kB / 1.467 GB, free: 15.78 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6288, allocations: 373.7 kB / 1.468 GB, free: 15.37 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.6308, allocations: 430.8 kB / 1.468 GB, free: 14.94 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.6308, allocations: 3.938 kB / 1.468 GB, free: 14.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006542/0.6374, allocations: 0.8929 MB / 1.469 GB, free: 14.03 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6374, allocations: 8 kB / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6374, allocations: 0 / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.6392, allocations: 281.4 kB / 1.469 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.6397, allocations: 67.83 kB / 1.469 GB, free: 13.67 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.6536, allocations: 3.856 MB / 1.473 GB, free: 9.586 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008581/0.6544, allocations: 71.75 kB / 1.473 GB, free: 9.516 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.6545, allocations: 15.97 kB / 1.473 GB, free: 9.5 MB / 1.17 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.0002418/0.6547, allocations: 145.8 kB / 1.473 GB, free: 9.348 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6549, allocations: 31.81 kB / 1.473 GB, free: 9.316 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006762/0.6616, allocations: 0.9513 MB / 1.474 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.6616, allocations: 3.984 kB / 1.474 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.6617, allocations: 0 / 1.474 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6617, allocations: 7.938 kB / 1.474 GB, free: 8.34 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.6623, allocations: 340.2 kB / 1.475 GB, free: 7.965 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.6623, allocations: 4 kB / 1.475 GB, free: 7.961 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.6627, allocations: 55.95 kB / 1.475 GB, free: 7.906 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.6644, allocations: 269.4 kB / 1.475 GB, free: 7.637 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.6644, allocations: 15.97 kB / 1.475 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/0.6782, allocations: 3.843 MB / 1.479 GB, free: 3.547 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6782, allocations: 3.984 kB / 1.479 GB, free: 3.543 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00664/0.6849, allocations: 0.9613 MB / 1.48 GB, free: 2.559 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.685, allocations: 31.7 kB / 1.48 GB, free: 2.527 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.685, allocations: 11.98 kB / 1.48 GB, free: 2.516 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/0.6858, allocations: 43.95 kB / 1.48 GB, free: 2.473 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.6859, allocations: 27.84 kB / 1.48 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.6859, allocations: 11.97 kB / 1.48 GB, free: 2.434 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002644/0.6862, allocations: 227.1 kB / 1.48 GB, free: 2.215 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6862, allocations: 0 / 1.48 GB, free: 2.215 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006636/0.6868, allocations: 111.9 kB / 1.48 GB, free: 2.105 MB / 1.17 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.007158/0.694, allocations: 1.519 MB / 1.482 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.6968, allocations: 0.7078 MB / 1.482 GB, free: 15.82 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6968, allocations: 0 / 1.482 GB, free: 15.82 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/0.6984, allocations: 0.4937 MB / 1.483 GB, free: 15.3 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.6991, allocations: 115.2 kB / 1.483 GB, free: 15.19 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/0.7171, allocations: 4.397 MB / 1.487 GB, free: 10.69 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.7173, allocations: 152.5 kB / 1.487 GB, free: 10.52 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004302/0.7178, allocations: 82.86 kB / 1.487 GB, free: 10.44 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.718, allocations: 107.3 kB / 1.488 GB, free: 10.33 MB / 1.186 GB Notification: Performance of SimCode: time 1.302e-06/0.718, allocations: 0 / 1.488 GB, free: 10.33 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05696/0.7749, allocations: 18.51 MB / 1.506 GB, free: 8.094 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.16, allocations: 1.875 kB / 1.506 GB, free: 8.094 MB / 1.201 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 & 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/jenkins1/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: 21.056820552010322]