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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 67.53 kB / 0.9086 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.258, allocations: 159.2 MB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003401/0.2614, allocations: 2.31 MB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.4174, allocations: 152 MB / 1.215 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.4175, allocations: 0 / 1.215 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.4178, allocations: 51.45 kB / 1.215 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.4181, allocations: 103.2 kB / 1.215 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.4186, allocations: 299 kB / 1.215 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.419, allocations: 427.8 kB / 1.216 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.4192, allocations: 107.9 kB / 1.216 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.4205, allocations: 278.1 kB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.4208, allocations: 179.3 kB / 1.216 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.4208, allocations: 36 kB / 1.216 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004745/0.4213, allocations: 279.6 kB / 1.216 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.4214, allocations: 79.72 kB / 1.217 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.4216, allocations: 163.1 kB / 1.217 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/0.4221, allocations: 486.6 kB / 1.217 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4221, allocations: 0 / 1.217 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4221, allocations: 3.938 kB / 1.217 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.4222, allocations: 0 / 1.217 GB, free: 0.9336 MB / 0.9669 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.001362/0.4235, allocations: 0.6979 MB / 1.218 GB, free: 192 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4236, allocations: 12.03 kB / 1.218 GB, free: 180 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.4236, allocations: 62.72 kB / 1.218 GB, free: 108 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.4263, allocations: 259.3 kB / 1.218 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.4267, allocations: 299.1 kB / 1.218 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.4267, allocations: 24.56 kB / 1.218 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.4268, allocations: 27.94 kB / 1.218 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4282, allocations: 436.5 kB / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.4282, allocations: 0 / 1.219 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.71e-05/0.4283, allocations: 15.94 kB / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4283, allocations: 4 kB / 1.219 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.4305, allocations: 0.529 MB / 1.219 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.4334, allocations: 1.12 MB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.4356, allocations: 462.3 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4367, allocations: 232.6 kB / 1.221 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.4367, allocations: 4 kB / 1.221 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.4367, allocations: 42.48 kB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.323e-06/0.4367, allocations: 0 / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01512/0.4519, allocations: 1.724 MB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.4519, allocations: 51.41 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.4522, allocations: 308.5 kB / 1.223 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.4523, allocations: 33.7 kB / 1.223 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4524, allocations: 164.2 kB / 1.223 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.727e-05/0.4525, allocations: 90.73 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.4527, allocations: 73.92 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4528, allocations: 350.7 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.4538, allocations: 196.4 kB / 1.224 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4549, allocations: 262.9 kB / 1.224 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.4569, allocations: 438.8 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4569, allocations: 4 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006658/0.4636, allocations: 0.8888 MB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4636, allocations: 4 kB / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4636, allocations: 0 / 1.226 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.4654, allocations: 285.4 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.4658, allocations: 67.88 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.4796, allocations: 4.093 MB / 1.23 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.4804, allocations: 75.64 kB / 1.23 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.4804, allocations: 19.97 kB / 1.23 GB, free: 3.059 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.0001731/0.4806, allocations: 145.7 kB / 1.23 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.4807, allocations: 31.61 kB / 1.23 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006777/0.4875, allocations: 0.9507 MB / 1.231 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4875, allocations: 4 kB / 1.231 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.4875, allocations: 0 / 1.231 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4875, allocations: 0 / 1.231 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.488, allocations: 440.5 kB / 1.232 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.488, allocations: 0 / 1.232 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.4884, allocations: 59.83 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.4901, allocations: 277.4 kB / 1.232 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.4902, allocations: 15.97 kB / 1.232 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.5039, allocations: 4.084 MB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5039, allocations: 0 / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0066/0.5105, allocations: 0.9506 MB / 1.237 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.5106, allocations: 112.7 kB / 1.237 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.5107, allocations: 12 kB / 1.237 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.5114, allocations: 47.89 kB / 1.237 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.5115, allocations: 23.91 kB / 1.237 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.5115, allocations: 15.97 kB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002183/0.5117, allocations: 231.1 kB / 1.237 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5117, allocations: 0 / 1.237 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004723/0.5122, allocations: 108 kB / 1.237 GB, free: 11.18 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.006971/0.5192, allocations: 1.522 MB / 1.239 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002668/0.5219, allocations: 0.7431 MB / 1.24 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5219, allocations: 0 / 1.24 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.5234, allocations: 0.4972 MB / 1.24 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.524, allocations: 114.5 kB / 1.24 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.542, allocations: 4.403 MB / 1.245 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.5424, allocations: 0.7645 MB / 1.245 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004087/0.5428, allocations: 82.86 kB / 1.245 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.543, allocations: 99.39 kB / 1.245 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.543, allocations: 0 / 1.245 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.547/6.09, allocations: 16.52 MB / 1.262 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/20.8, allocations: 3.906 kB / 1.262 GB, free: 187.2 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches