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.001726/0.001726, allocations: 108 kB / 15.61 MB, free: 152 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.001848/0.001848, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.428/1.428, 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.907/2.907, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.12 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2588, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003807/0.2627, allocations: 2.308 MB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.4338, allocations: 152 MB / 1.215 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.434, allocations: 4 kB / 1.215 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.4342, allocations: 43.47 kB / 1.215 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.4346, allocations: 103.2 kB / 1.215 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007203/0.4353, allocations: 307 kB / 1.215 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.4358, allocations: 423.8 kB / 1.216 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.436, allocations: 107.9 kB / 1.216 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.4374, allocations: 285.5 kB / 1.216 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.4377, allocations: 183.3 kB / 1.216 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.4377, allocations: 28 kB / 1.216 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005392/0.4383, allocations: 275.6 kB / 1.216 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.4384, allocations: 83.72 kB / 1.217 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.4386, allocations: 163.2 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.4392, allocations: 482.6 kB / 1.217 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4392, allocations: 3.938 kB / 1.217 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.406e-06/0.4392, allocations: 0 / 1.217 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.4392, allocations: 3.938 kB / 1.217 GB, free: 0.875 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.001494/0.4407, allocations: 0.7079 MB / 1.218 GB, free: 124 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.4408, allocations: 12.03 kB / 1.218 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.256e-05/0.4409, allocations: 58.73 kB / 1.218 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/0.4437, allocations: 263.3 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.4441, allocations: 295.2 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.4441, allocations: 24.5 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.4442, allocations: 28 kB / 1.218 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.4457, allocations: 432.5 kB / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4457, allocations: 0 / 1.219 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.4458, allocations: 15.94 kB / 1.219 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4458, allocations: 8 kB / 1.219 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.4482, allocations: 0.5252 MB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.4513, allocations: 1.12 MB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.4537, allocations: 462.2 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.4548, allocations: 236.7 kB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.4548, allocations: 4 kB / 1.221 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4549, allocations: 38.5 kB / 1.221 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.4549, allocations: 4 kB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01644/0.4713, allocations: 1.72 MB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.4714, allocations: 59.41 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.4717, allocations: 304.5 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.4718, allocations: 29.7 kB / 1.223 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.4719, allocations: 172.2 kB / 1.223 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/0.472, allocations: 86.73 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.4722, allocations: 73.92 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4724, allocations: 346.7 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.4735, allocations: 200.4 kB / 1.224 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/0.4746, allocations: 266.8 kB / 1.224 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.4768, allocations: 434.8 kB / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4768, allocations: 0 / 1.225 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007213/0.4841, allocations: 0.8966 MB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4841, allocations: 4 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4841, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.486, allocations: 277.4 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.4865, allocations: 71.83 kB / 1.226 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.5017, allocations: 4.091 MB / 1.23 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/0.5026, allocations: 75.64 kB / 1.23 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.5026, allocations: 19.97 kB / 1.23 GB, free: 3 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.0001964/0.5028, allocations: 145.7 kB / 1.23 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.5029, allocations: 27.62 kB / 1.23 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007562/0.5105, allocations: 0.9546 MB / 1.231 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5105, allocations: 4 kB / 1.231 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.5105, allocations: 0 / 1.231 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5105, allocations: 3.984 kB / 1.231 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.5111, allocations: 440.5 kB / 1.232 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5111, allocations: 7.984 kB / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.5115, allocations: 55.89 kB / 1.232 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.5134, allocations: 273.4 kB / 1.232 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.5134, allocations: 15.97 kB / 1.232 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/0.5286, allocations: 4.08 MB / 1.236 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5286, allocations: 4.031 kB / 1.236 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007385/0.536, allocations: 0.9582 MB / 1.237 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.5361, allocations: 112.7 kB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.5362, allocations: 8 kB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.537, allocations: 39.95 kB / 1.237 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.537, allocations: 27.91 kB / 1.237 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.5371, allocations: 15.97 kB / 1.237 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002608/0.5374, allocations: 227.1 kB / 1.237 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5374, allocations: 0 / 1.237 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005937/0.538, allocations: 108 kB / 1.237 GB, free: 11.12 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.00791/0.5459, allocations: 1.526 MB / 1.239 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003018/0.5489, allocations: 0.7432 MB / 1.24 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5489, allocations: 0 / 1.24 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.5506, allocations: 0.5011 MB / 1.24 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.5513, allocations: 106.8 kB / 1.24 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/0.5715, allocations: 4.403 MB / 1.245 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.5719, allocations: 0.7645 MB / 1.245 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004969/0.5724, allocations: 78.83 kB / 1.245 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.5726, allocations: 103.4 kB / 1.245 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of SimCode: time 2.324e-06/0.5726, allocations: 4 kB / 1.245 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4381/1.011, allocations: 16.5 MB / 1.262 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.45, allocations: 10.59 kB / 1.262 GB, free: 187.1 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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