Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_10_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.001603/0.001602, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001844/0.001844, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.287/1.287, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7101 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.8688 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5345/0.5359, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.00301/0.539, allocations: 2.356 MB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1365/0.6754, allocations: 149.8 MB / 1.166 GB, free: 9.98 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.6757, allocations: 4 kB / 1.166 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.6759, allocations: 31.66 kB / 1.166 GB, free: 9.945 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.6763, allocations: 95.36 kB / 1.166 GB, free: 9.852 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.677, allocations: 267.2 kB / 1.166 GB, free: 9.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.6774, allocations: 431.8 kB / 1.166 GB, free: 9.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.6777, allocations: 106.8 kB / 1.166 GB, free: 9.062 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.6795, allocations: 291.7 kB / 1.167 GB, free: 8.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.6798, allocations: 179.2 kB / 1.167 GB, free: 8.629 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.6799, allocations: 32 kB / 1.167 GB, free: 8.598 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.6803, allocations: 283.6 kB / 1.167 GB, free: 8.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.253e-05/0.6804, allocations: 83.72 kB / 1.167 GB, free: 8.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.6806, allocations: 167.1 kB / 1.167 GB, free: 8.074 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.6811, allocations: 490.6 kB / 1.168 GB, free: 7.594 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6811, allocations: 0 / 1.168 GB, free: 7.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6812, allocations: 0 / 1.168 GB, free: 7.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.6812, allocations: 0 / 1.168 GB, free: 7.594 MB / 0.92 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.6826, allocations: 0.7056 MB / 1.169 GB, free: 6.836 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.6826, allocations: 12.03 kB / 1.169 GB, free: 6.824 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.973e-05/0.6827, allocations: 66.72 kB / 1.169 GB, free: 6.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/0.6858, allocations: 255.3 kB / 1.169 GB, free: 6.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.6861, allocations: 295.3 kB / 1.169 GB, free: 6.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6861, allocations: 20.56 kB / 1.169 GB, free: 6.152 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.6862, allocations: 24 kB / 1.169 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.6877, allocations: 432.5 kB / 1.17 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.6878, allocations: 0 / 1.17 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.6878, allocations: 11.94 kB / 1.17 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.6878, allocations: 11.98 kB / 1.17 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.6903, allocations: 0.5251 MB / 1.17 GB, free: 5.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.6934, allocations: 1.139 MB / 1.171 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.6958, allocations: 462.4 kB / 1.172 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.6969, allocations: 220.7 kB / 1.172 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.697, allocations: 12.38 kB / 1.172 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.697, allocations: 38.44 kB / 1.172 GB, free: 3.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/0.697, allocations: 0 / 1.172 GB, free: 3.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=25): time 0.01736/0.7144, allocations: 1.72 MB / 1.174 GB, free: 1.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.7145, allocations: 59.34 kB / 1.174 GB, free: 1.387 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.7147, allocations: 312.5 kB / 1.174 GB, free: 1.074 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.7148, allocations: 29.7 kB / 1.174 GB, free: 1.039 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.7149, allocations: 176.2 kB / 1.174 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.715, allocations: 86.7 kB / 1.174 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.7152, allocations: 73.83 kB / 1.174 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7153, allocations: 346.7 kB / 1.175 GB, free: 360 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.7164, allocations: 204.4 kB / 1.175 GB, free: 156 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.7176, allocations: 262.9 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.7197, allocations: 430.8 kB / 1.176 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7197, allocations: 0 / 1.176 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007646/0.7274, allocations: 0.8927 MB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.7274, allocations: 12 kB / 1.176 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7274, allocations: 0 / 1.176 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.7295, allocations: 277.4 kB / 1.177 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.73, allocations: 71.81 kB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.7459, allocations: 4.096 MB / 1.181 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.7467, allocations: 71.48 kB / 1.181 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/0.7468, allocations: 23.97 kB / 1.181 GB, free: 9.703 MB / 0.9356 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.0001771/0.7469, allocations: 141.8 kB / 1.181 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.747, allocations: 31.62 kB / 1.181 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/0.755, allocations: 0.9469 MB / 1.182 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.755, allocations: 0 / 1.182 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.755, allocations: 0 / 1.182 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.755, allocations: 8 kB / 1.182 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.7555, allocations: 428.9 kB / 1.182 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7555, allocations: 0 / 1.182 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.7559, allocations: 55.89 kB / 1.182 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.7578, allocations: 285.3 kB / 1.183 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.7579, allocations: 11.98 kB / 1.183 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.7732, allocations: 4.08 MB / 1.187 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7732, allocations: 4.062 kB / 1.187 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007642/0.7809, allocations: 0.9586 MB / 1.188 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.781, allocations: 108.7 kB / 1.188 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.509e-05/0.781, allocations: 11.91 kB / 1.188 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/0.7818, allocations: 47.89 kB / 1.188 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.7819, allocations: 19.91 kB / 1.188 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.782, allocations: 19.97 kB / 1.188 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002187/0.7822, allocations: 227 kB / 1.188 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7822, allocations: 0 / 1.188 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005518/0.7828, allocations: 112 kB / 1.188 GB, free: 1.836 MB / 0.9356 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.008046/0.7908, allocations: 1.519 MB / 1.19 GB, free: 292 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002846/0.7937, allocations: 0.739 MB / 1.19 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.7937, allocations: 0 / 1.19 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.7953, allocations: 0.5011 MB / 1.191 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.7959, allocations: 97.3 kB / 1.191 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/0.8162, allocations: 4.493 MB / 1.195 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.8165, allocations: 0.7723 MB / 1.196 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004893/0.817, allocations: 82.86 kB / 1.196 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.8172, allocations: 95.39 kB / 1.196 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.8172, allocations: 0 / 1.196 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.8503, allocations: 16.37 MB / 1.212 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.8505, allocations: 217.5 kB / 1.212 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.465, allocations: 3.938 kB / 1.212 GB, free: 8.914 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches