Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00507/0.00507, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 189.1 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6533/0.6545, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003055/0.6576, allocations: 2.291 MB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.8168, allocations: 152 MB / 1.238 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.817, allocations: 3.375 kB / 1.238 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.8172, allocations: 42.09 kB / 1.238 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.8175, allocations: 103.4 kB / 1.238 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005853/0.8181, allocations: 301.8 kB / 1.239 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003886/0.8185, allocations: 437.2 kB / 1.239 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.8187, allocations: 107.7 kB / 1.239 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.8199, allocations: 285.4 kB / 1.239 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.8201, allocations: 178.6 kB / 1.24 GB, free: 276 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.8202, allocations: 33.31 kB / 1.24 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.8207, allocations: 282.5 kB / 1.24 GB, free: 136 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.498e-05/0.8208, allocations: 80.16 kB / 1.24 GB, free: 68 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.8209, allocations: 161.9 kB / 1.24 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.8215, allocations: 499.4 kB / 1.241 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8215, allocations: 1.375 kB / 1.241 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8215, allocations: 0 / 1.241 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8215, allocations: 0 / 1.241 GB, free: 15.62 MB / 0.9825 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.001401/0.8229, allocations: 0.7066 MB / 1.241 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.823, allocations: 10.31 kB / 1.241 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.724e-05/0.823, allocations: 63.09 kB / 1.241 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.8258, allocations: 258.4 kB / 1.242 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.8262, allocations: 305 kB / 1.242 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.8263, allocations: 19.62 kB / 1.242 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.8263, allocations: 30.03 kB / 1.242 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.8278, allocations: 427.1 kB / 1.242 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8278, allocations: 4 kB / 1.242 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.8279, allocations: 14.41 kB / 1.242 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.8279, allocations: 6.406 kB / 1.242 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.8302, allocations: 0.5287 MB / 1.243 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.8332, allocations: 1.12 MB / 1.244 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.8355, allocations: 460.4 kB / 1.244 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/0.8366, allocations: 237.8 kB / 1.245 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.8367, allocations: 8.375 kB / 1.245 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.8367, allocations: 38.48 kB / 1.245 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.8367, allocations: 0 / 1.245 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01631/0.853, allocations: 1.723 MB / 1.246 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.8531, allocations: 55.41 kB / 1.246 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.8533, allocations: 312.4 kB / 1.247 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.8534, allocations: 29.7 kB / 1.247 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.8535, allocations: 172.2 kB / 1.247 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.8536, allocations: 82.75 kB / 1.247 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.8538, allocations: 73.92 kB / 1.247 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8539, allocations: 350.7 kB / 1.247 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.8549, allocations: 200.4 kB / 1.248 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.856, allocations: 255 kB / 1.248 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.8582, allocations: 442.8 kB / 1.248 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8582, allocations: 0 / 1.248 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007117/0.8653, allocations: 0.8849 MB / 1.249 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.8653, allocations: 6.031 kB / 1.249 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8653, allocations: 4 kB / 1.249 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/0.8673, allocations: 281.4 kB / 1.249 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.8677, allocations: 71.88 kB / 1.249 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.8824, allocations: 4.083 MB / 1.253 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007958/0.8832, allocations: 75.55 kB / 1.253 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.8833, allocations: 23.91 kB / 1.253 GB, free: 3.16 MB / 0.9825 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.0001683/0.8834, allocations: 145.7 kB / 1.254 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.8835, allocations: 35.61 kB / 1.254 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00742/0.891, allocations: 0.9534 MB / 1.255 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.891, allocations: 4 kB / 1.255 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.891, allocations: 0 / 1.255 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.891, allocations: 0 / 1.255 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.8915, allocations: 428.6 kB / 1.255 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8915, allocations: 4 kB / 1.255 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.8919, allocations: 51.89 kB / 1.255 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/0.8937, allocations: 281.4 kB / 1.255 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.8938, allocations: 11.97 kB / 1.255 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.9082, allocations: 4.084 MB / 1.259 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9082, allocations: 0 / 1.259 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007109/0.9153, allocations: 0.957 MB / 1.26 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.9154, allocations: 112.7 kB / 1.26 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.142e-05/0.9155, allocations: 4 kB / 1.26 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/0.9162, allocations: 47.89 kB / 1.26 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.399e-05/0.9163, allocations: 23.91 kB / 1.26 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.9164, allocations: 15.97 kB / 1.26 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002128/0.9166, allocations: 227.1 kB / 1.261 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9166, allocations: 0 / 1.261 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000551/0.9171, allocations: 119.9 kB / 1.261 GB, free: 11.29 MB / 0.9981 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.007497/0.9246, allocations: 1.51 MB / 1.262 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.9274, allocations: 0.7355 MB / 1.263 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9274, allocations: 3.938 kB / 1.263 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.9289, allocations: 0.5012 MB / 1.263 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.9296, allocations: 105.3 kB / 1.264 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01905/0.9486, allocations: 4.373 MB / 1.268 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.9489, allocations: 0.7684 MB / 1.269 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.9493, allocations: 82.86 kB / 1.269 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.9495, allocations: 103.4 kB / 1.269 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.9495, allocations: 0 / 1.269 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4151/1.365, allocations: 16.65 MB / 1.285 GB, free: 2.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/13.08, allocations: 11.16 kB / 1.285 GB, free: 2.402 MB / 1.014 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches