Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 109 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 181.9 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.559/2.559, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.91 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7574/0.7592, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002834/0.7621, allocations: 2.338 MB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.9314, allocations: 152.5 MB / 1.423 GB, free: 4.742 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.9316, allocations: 2.594 kB / 1.423 GB, free: 4.742 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.9318, allocations: 45.62 kB / 1.423 GB, free: 4.699 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.9321, allocations: 107.5 kB / 1.423 GB, free: 4.609 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.9327, allocations: 303.5 kB / 1.423 GB, free: 4.379 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.9331, allocations: 431.6 kB / 1.423 GB, free: 4.125 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.9333, allocations: 72.34 kB / 1.424 GB, free: 4.074 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.9346, allocations: 281 kB / 1.424 GB, free: 3.949 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.9349, allocations: 190 kB / 1.424 GB, free: 3.82 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.9349, allocations: 29.91 kB / 1.424 GB, free: 3.82 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.9354, allocations: 278.8 kB / 1.424 GB, free: 3.691 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.9355, allocations: 79.58 kB / 1.424 GB, free: 3.625 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.9357, allocations: 170.6 kB / 1.424 GB, free: 3.504 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.9363, allocations: 0.491 MB / 1.425 GB, free: 3.172 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9363, allocations: 0.9688 kB / 1.425 GB, free: 3.172 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9363, allocations: 0 / 1.425 GB, free: 3.172 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.9363, allocations: 0 / 1.425 GB, free: 3.172 MB / 1.107 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.001368/0.9377, allocations: 0.7221 MB / 1.426 GB, free: 2.562 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.9377, allocations: 10.16 kB / 1.426 GB, free: 2.562 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.793e-05/0.9378, allocations: 58.36 kB / 1.426 GB, free: 2.504 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.9403, allocations: 258.3 kB / 1.426 GB, free: 2.398 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.9407, allocations: 317.4 kB / 1.426 GB, free: 2.086 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.9407, allocations: 23.78 kB / 1.426 GB, free: 2.074 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.9407, allocations: 30.34 kB / 1.426 GB, free: 2.062 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.9421, allocations: 430.7 kB / 1.427 GB, free: 1.801 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.9421, allocations: 3.938 kB / 1.427 GB, free: 1.797 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.9422, allocations: 15.09 kB / 1.427 GB, free: 1.785 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.9422, allocations: 5.781 kB / 1.427 GB, free: 1.785 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.9443, allocations: 0.5216 MB / 1.427 GB, free: 1.531 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.9471, allocations: 1.14 MB / 1.428 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.9492, allocations: 442.8 kB / 1.429 GB, free: 448 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000972/0.9502, allocations: 220.9 kB / 1.429 GB, free: 332 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.9502, allocations: 7.094 kB / 1.429 GB, free: 328 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.9502, allocations: 35.56 kB / 1.429 GB, free: 284 kB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.9502, allocations: 0 / 1.429 GB, free: 284 kB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.01458/0.9648, allocations: 1.734 MB / 1.431 GB, free: 15.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.9649, allocations: 54.03 kB / 1.431 GB, free: 15.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.9651, allocations: 301.2 kB / 1.431 GB, free: 15.08 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.9652, allocations: 27.02 kB / 1.431 GB, free: 15.05 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.9653, allocations: 178.5 kB / 1.431 GB, free: 14.88 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/0.9654, allocations: 89.52 kB / 1.431 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.9655, allocations: 74.92 kB / 1.431 GB, free: 14.75 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.9657, allocations: 346.3 kB / 1.432 GB, free: 14.41 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000988/0.9667, allocations: 202.8 kB / 1.432 GB, free: 14.31 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.9677, allocations: 267.2 kB / 1.432 GB, free: 14.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.9696, allocations: 429 kB / 1.433 GB, free: 13.92 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9696, allocations: 1.375 kB / 1.433 GB, free: 13.92 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006509/0.9762, allocations: 0.8922 MB / 1.434 GB, free: 13.46 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9762, allocations: 5.219 kB / 1.434 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9762, allocations: 1.625 kB / 1.434 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.978, allocations: 282.9 kB / 1.434 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.9784, allocations: 66.77 kB / 1.434 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.9921, allocations: 4.107 MB / 1.438 GB, free: 9.699 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.9929, allocations: 71.62 kB / 1.438 GB, free: 9.629 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.9929, allocations: 27.95 kB / 1.438 GB, free: 9.602 MB / 1.123 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.0001881/0.9931, allocations: 133.8 kB / 1.438 GB, free: 9.461 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.9932, allocations: 31.81 kB / 1.438 GB, free: 9.43 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006728/0.9999, allocations: 0.9434 MB / 1.439 GB, free: 8.477 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.9999, allocations: 4 kB / 1.439 GB, free: 8.473 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.9999, allocations: 0 / 1.439 GB, free: 8.473 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.9999, allocations: 0 / 1.439 GB, free: 8.473 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/1, allocations: 444.6 kB / 1.439 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1, allocations: 0 / 1.439 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/1.001, allocations: 59.88 kB / 1.44 GB, free: 7.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/1.002, allocations: 285.3 kB / 1.44 GB, free: 7.645 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/1.003, allocations: 11.97 kB / 1.44 GB, free: 7.633 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/1.016, allocations: 4.077 MB / 1.444 GB, free: 3.266 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.016, allocations: 0 / 1.444 GB, free: 3.266 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006387/1.022, allocations: 0.9652 MB / 1.445 GB, free: 2.277 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/1.022, allocations: 112.8 kB / 1.445 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/1.022, allocations: 7.891 kB / 1.445 GB, free: 2.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/1.023, allocations: 43.95 kB / 1.445 GB, free: 2.098 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/1.023, allocations: 31.89 kB / 1.445 GB, free: 2.066 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/1.023, allocations: 11.98 kB / 1.445 GB, free: 2.055 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002174/1.023, allocations: 231 kB / 1.445 GB, free: 1.832 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/1.023, allocations: 0 / 1.445 GB, free: 1.832 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005111/1.024, allocations: 111.9 kB / 1.445 GB, free: 1.723 MB / 1.123 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.006826/1.031, allocations: 1.514 MB / 1.447 GB, free: 180 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002544/1.033, allocations: 0.712 MB / 1.447 GB, free: 15.44 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.033, allocations: 0 / 1.447 GB, free: 15.44 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.035, allocations: 0.4899 MB / 1.448 GB, free: 14.92 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/1.035, allocations: 107.5 kB / 1.448 GB, free: 14.82 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.053, allocations: 4.389 MB / 1.452 GB, free: 10.32 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.053, allocations: 0.7684 MB / 1.453 GB, free: 9.527 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003385/1.054, allocations: 78.88 kB / 1.453 GB, free: 9.445 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/1.054, allocations: 107.4 kB / 1.453 GB, free: 9.34 MB / 1.139 GB Notification: Performance of SimCode: time 4.1e-07/1.054, allocations: 0 / 1.453 GB, free: 9.34 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/1.102, allocations: 16.83 MB / 1.47 GB, free: 8.688 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/12.04, allocations: 2.234 kB / 1.47 GB, free: 8.688 MB / 1.154 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.M from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TOpe in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TOpe from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TAir in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TAir from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TRad in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TRad from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TSki in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TSki from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.vAir in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.vAir from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.571115390004707]