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.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.0008317/0.0008317, 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.0009021/0.0009021, 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.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.433e-06/1.433e-06, allocations: 0 / 0.9504 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.446e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.578 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002313/0.002327, allocations: 2.191 MB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.572/0.5743, allocations: 133.6 MB / 1.083 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.5745, allocations: 6.812 kB / 1.083 GB, free: 39.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.5746, allocations: 48.33 kB / 1.083 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.5749, allocations: 107.7 kB / 1.083 GB, free: 39.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.5753, allocations: 315.1 kB / 1.084 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.5756, allocations: 437 kB / 1.084 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.5758, allocations: 68.91 kB / 1.084 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/0.5766, allocations: 353.9 kB / 1.084 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.5767, allocations: 150.9 kB / 1.085 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.5768, allocations: 29.12 kB / 1.085 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.5771, allocations: 268.8 kB / 1.085 GB, free: 39.72 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.5772, allocations: 84 kB / 1.085 GB, free: 39.72 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.5773, allocations: 115.4 kB / 1.085 GB, free: 39.72 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.5777, allocations: 0.5362 MB / 1.086 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5777, allocations: 0 / 1.086 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5777, allocations: 0 / 1.086 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5777, allocations: 0 / 1.086 GB, free: 39.68 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.0008726/0.5786, allocations: 0.6318 MB / 1.086 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5787, allocations: 8.375 kB / 1.086 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.5787, allocations: 64.33 kB / 1.086 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5802, allocations: 294 kB / 1.086 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.5805, allocations: 241.4 kB / 1.087 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5805, allocations: 22 kB / 1.087 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.5805, allocations: 24.81 kB / 1.087 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008183/0.5814, allocations: 438.2 kB / 1.087 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5814, allocations: 0 / 1.087 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.5814, allocations: 11.44 kB / 1.087 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.5814, allocations: 5.062 kB / 1.087 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.5825, allocations: 0.5257 MB / 1.088 GB, free: 38.97 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.5842, allocations: 1.022 MB / 1.089 GB, free: 38.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.5853, allocations: 439 kB / 1.089 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.5858, allocations: 217.5 kB / 1.089 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.5858, allocations: 9.453 kB / 1.089 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.5858, allocations: 40.19 kB / 1.089 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.5858, allocations: 0 / 1.089 GB, free: 38.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.007238/0.5931, allocations: 1.579 MB / 1.091 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.5931, allocations: 65.47 kB / 1.091 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.5933, allocations: 302.6 kB / 1.091 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.5933, allocations: 34.92 kB / 1.091 GB, free: 38.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.5934, allocations: 171.1 kB / 1.091 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.5934, allocations: 91.47 kB / 1.092 GB, free: 38.01 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5935, allocations: 74.62 kB / 1.092 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.5935, allocations: 339 kB / 1.092 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.594, allocations: 203.6 kB / 1.092 GB, free: 37.67 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.5946, allocations: 359.6 kB / 1.092 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.5956, allocations: 437.6 kB / 1.093 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5956, allocations: 0 / 1.093 GB, free: 37.45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003263/0.5989, allocations: 0.8931 MB / 1.094 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5989, allocations: 9 kB / 1.094 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5989, allocations: 2.625 kB / 1.094 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000928/0.5998, allocations: 282.2 kB / 1.094 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.6, allocations: 65.39 kB / 1.094 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/0.6073, allocations: 3.85 MB / 1.098 GB, free: 34.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.6076, allocations: 77.81 kB / 1.098 GB, free: 34.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.6077, allocations: 21.33 kB / 1.098 GB, free: 34.59 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.0001162/0.6078, allocations: 140.6 kB / 1.098 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.333e-05/0.6079, allocations: 30.95 kB / 1.098 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/0.6113, allocations: 0.9496 MB / 1.099 GB, free: 34.17 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.6113, allocations: 7 kB / 1.099 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.6113, allocations: 1.203 kB / 1.099 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6113, allocations: 3.016 kB / 1.099 GB, free: 34.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.6116, allocations: 332.1 kB / 1.099 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6116, allocations: 3.5 kB / 1.099 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.6118, allocations: 52.91 kB / 1.099 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008639/0.6126, allocations: 284.7 kB / 1.1 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.6127, allocations: 19.69 kB / 1.1 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00675/0.6194, allocations: 3.829 MB / 1.103 GB, free: 31.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6194, allocations: 1.062 kB / 1.103 GB, free: 31.08 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.6228, allocations: 0.9673 MB / 1.104 GB, free: 30.74 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.6228, allocations: 31.55 kB / 1.104 GB, free: 30.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.6229, allocations: 7.547 kB / 1.104 GB, free: 30.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.6232, allocations: 45.25 kB / 1.105 GB, free: 30.71 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.6233, allocations: 20.5 kB / 1.105 GB, free: 30.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.6233, allocations: 14.64 kB / 1.105 GB, free: 30.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001672/0.6235, allocations: 231.7 kB / 1.105 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.6235, allocations: 1.188 kB / 1.105 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004696/0.624, allocations: 115 kB / 1.105 GB, free: 30.56 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.003686/0.6276, allocations: 1.512 MB / 1.106 GB, free: 29.69 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.6291, allocations: 0.707 MB / 1.107 GB, free: 29.35 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6291, allocations: 0 / 1.107 GB, free: 29.35 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007768/0.6299, allocations: 0.4911 MB / 1.108 GB, free: 29.06 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.6303, allocations: 117.6 kB / 1.108 GB, free: 29.02 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009673/0.64, allocations: 4.395 MB / 1.112 GB, free: 26.87 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.6401, allocations: 168 kB / 1.112 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.6404, allocations: 80 kB / 1.112 GB, free: 26.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.6405, allocations: 102.4 kB / 1.112 GB, free: 26.68 MB / 0.9948 GB Notification: Performance of SimCode: time 7.02e-07/0.6405, allocations: 0 / 1.112 GB, free: 26.68 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.672, allocations: 18.3 MB / 1.13 GB, free: 24.16 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.629, allocations: 14.23 kB / 1.13 GB, free: 24.16 MB / 0.9948 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.567466014996171]