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.001978/0.001978, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002071/0.002071, allocations: 216.1 kB / 23.04 MB, free: 5.07 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 3.303/3.303, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="cs",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.001957/0.001957, allocations: 63.98 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.387, allocations: 179 MB / 1.345 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004939/0.3919, allocations: 2.346 MB / 1.348 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2047/0.5966, allocations: 155.4 MB / 1.499 GB, free: 2.164 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.5969, allocations: 7.938 kB / 1.499 GB, free: 2.156 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.5971, allocations: 39.47 kB / 1.499 GB, free: 2.117 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.5975, allocations: 99.19 kB / 1.499 GB, free: 2.02 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.5984, allocations: 310.9 kB / 1.5 GB, free: 1.715 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.5989, allocations: 431.7 kB / 1.5 GB, free: 1.289 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.5991, allocations: 76.27 kB / 1.5 GB, free: 1.211 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.6007, allocations: 298.1 kB / 1.501 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.601, allocations: 179.3 kB / 1.501 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.6011, allocations: 28 kB / 1.501 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006414/0.6017, allocations: 295.5 kB / 1.501 GB, free: 464 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6018, allocations: 79.73 kB / 1.501 GB, free: 384 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.602, allocations: 163.2 kB / 1.501 GB, free: 220 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.6027, allocations: 0.4941 MB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6027, allocations: 0 / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6027, allocations: 0 / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.6028, allocations: 0 / 1.502 GB, free: 15.72 MB / 1.201 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.001576/0.6043, allocations: 0.6414 MB / 1.502 GB, free: 15.05 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.6044, allocations: 19.97 kB / 1.502 GB, free: 15.03 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.911e-05/0.6044, allocations: 4.844 kB / 1.502 GB, free: 15.02 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.473e-05/0.6045, allocations: 66.47 kB / 1.502 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.6079, allocations: 315.5 kB / 1.503 GB, free: 14.64 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.6084, allocations: 241.5 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.6084, allocations: 24.66 kB / 1.503 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.6085, allocations: 28 kB / 1.503 GB, free: 14.32 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.6101, allocations: 437.7 kB / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6101, allocations: 0 / 1.503 GB, free: 13.89 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.6101, allocations: 11.94 kB / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.6101, allocations: 8 kB / 1.503 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.6126, allocations: 0.5334 MB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.616, allocations: 1.112 MB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/0.6185, allocations: 442.4 kB / 1.505 GB, free: 11.74 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.6196, allocations: 216.7 kB / 1.506 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.6196, allocations: 4.391 kB / 1.506 GB, free: 11.52 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.6197, allocations: 42.5 kB / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 2.375e-06/0.6197, allocations: 0 / 1.506 GB, free: 11.47 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01651/0.6362, allocations: 1.591 MB / 1.507 GB, free: 9.867 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.6362, allocations: 55.41 kB / 1.507 GB, free: 9.801 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.6367, allocations: 300.6 kB / 1.508 GB, free: 9.5 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/0.6367, allocations: 29.7 kB / 1.508 GB, free: 9.465 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.6369, allocations: 176.5 kB / 1.508 GB, free: 9.289 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.637, allocations: 91.22 kB / 1.508 GB, free: 9.199 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.6372, allocations: 77.88 kB / 1.508 GB, free: 9.113 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.6374, allocations: 350.7 kB / 1.508 GB, free: 8.762 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.6385, allocations: 200.4 kB / 1.509 GB, free: 8.566 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.6396, allocations: 263 kB / 1.509 GB, free: 8.289 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.6418, allocations: 438.2 kB / 1.509 GB, free: 7.852 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6418, allocations: 0 / 1.509 GB, free: 7.852 MB / 1.201 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007344/0.6492, allocations: 0.8934 MB / 1.51 GB, free: 6.945 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.6492, allocations: 4 kB / 1.51 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/0.6492, allocations: 0 / 1.51 GB, free: 6.941 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.6512, allocations: 285.4 kB / 1.51 GB, free: 6.656 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.6518, allocations: 67.88 kB / 1.51 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/0.6675, allocations: 3.892 MB / 1.514 GB, free: 2.473 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009548/0.6685, allocations: 75.69 kB / 1.514 GB, free: 2.398 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.839e-05/0.6685, allocations: 15.97 kB / 1.514 GB, free: 2.383 MB / 1.201 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.0002476/0.6688, allocations: 141.8 kB / 1.514 GB, free: 2.234 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.6689, allocations: 35.81 kB / 1.514 GB, free: 2.199 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007548/0.6764, allocations: 0.9509 MB / 1.515 GB, free: 1.234 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.6764, allocations: 4 kB / 1.515 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6764, allocations: 3.984 kB / 1.515 GB, free: 1.227 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.6765, allocations: 7.938 kB / 1.515 GB, free: 1.219 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00829/0.6847, allocations: 1.32 MB / 1.517 GB, free: 15.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.6848, allocations: 4.062 kB / 1.517 GB, free: 15.83 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004931/0.6852, allocations: 55.89 kB / 1.517 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/0.6872, allocations: 281.3 kB / 1.517 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.6872, allocations: 19.97 kB / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.7025, allocations: 3.874 MB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.7025, allocations: 4.031 kB / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007414/0.7099, allocations: 0.9824 MB / 1.522 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.7101, allocations: 43.69 kB / 1.522 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.7102, allocations: 4 kB / 1.522 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/0.711, allocations: 39.95 kB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.7111, allocations: 23.97 kB / 1.522 GB, free: 10.25 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.7112, allocations: 19.97 kB / 1.522 GB, free: 10.23 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002711/0.7114, allocations: 223.1 kB / 1.522 GB, free: 10.01 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.7114, allocations: 0 / 1.522 GB, free: 10.01 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006345/0.7121, allocations: 111.9 kB / 1.522 GB, free: 9.902 MB / 1.217 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.007779/0.7198, allocations: 1.538 MB / 1.524 GB, free: 8.328 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003013/0.7229, allocations: 0.7117 MB / 1.524 GB, free: 7.59 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.7229, allocations: 4 kB / 1.524 GB, free: 7.586 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.7245, allocations: 0.4933 MB / 1.525 GB, free: 7.066 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007315/0.7253, allocations: 113.3 kB / 1.525 GB, free: 6.957 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/0.7459, allocations: 4.459 MB / 1.529 GB, free: 2.387 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.7464, allocations: 0.7645 MB / 1.53 GB, free: 1.598 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004439/0.7468, allocations: 94.81 kB / 1.53 GB, free: 1.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.7471, allocations: 103.4 kB / 1.53 GB, free: 1.398 MB / 1.217 GB Notification: Performance of SimCode: time 6.71e-07/0.7471, allocations: 0 / 1.53 GB, free: 1.398 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04925/0.7963, allocations: 16.98 MB / 1.547 GB, free: 0.6133 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.9, allocations: 7.172 kB / 1.547 GB, free: 0.6094 MB / 1.232 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.88473851897288]