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.00108/0.00108, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001268/0.001268, allocations: 197.2 kB / 16.25 MB, free: 6.625 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.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.163/2.163, allocations: 390.3 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5219, allocations: 140.4 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002754/0.5247, allocations: 2.354 MB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1397/0.6644, allocations: 149.8 MB / 1.098 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002652/0.6647, allocations: 7.938 kB / 1.098 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.6649, allocations: 27.72 kB / 1.098 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.6654, allocations: 87.33 kB / 1.098 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.6661, allocations: 275.3 kB / 1.098 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.6666, allocations: 427.7 kB / 1.099 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.6668, allocations: 109.9 kB / 1.099 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.6687, allocations: 280.1 kB / 1.099 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.669, allocations: 187.2 kB / 1.099 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.6691, allocations: 32 kB / 1.099 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.6696, allocations: 283.6 kB / 1.099 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.6697, allocations: 83.72 kB / 1.1 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.6698, allocations: 155.2 kB / 1.1 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.6704, allocations: 486.6 kB / 1.1 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6704, allocations: 7.938 kB / 1.1 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6704, allocations: 0 / 1.1 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.6704, allocations: 0 / 1.1 GB, free: 6.945 MB / 0.8575 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.001413/0.6718, allocations: 0.7056 MB / 1.101 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6719, allocations: 12.02 kB / 1.101 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.721e-05/0.672, allocations: 58.73 kB / 1.101 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002897/0.6749, allocations: 267.2 kB / 1.101 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.6752, allocations: 291.4 kB / 1.101 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.6752, allocations: 20.56 kB / 1.101 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.6753, allocations: 28 kB / 1.102 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.6768, allocations: 432.5 kB / 1.102 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6768, allocations: 0 / 1.102 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.6768, allocations: 15.94 kB / 1.102 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.6768, allocations: 8 kB / 1.102 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.6791, allocations: 0.5174 MB / 1.102 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.682, allocations: 1.136 MB / 1.104 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.6842, allocations: 462.3 kB / 1.104 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.6853, allocations: 236.7 kB / 1.104 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.6853, allocations: 0 / 1.104 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.6853, allocations: 42.5 kB / 1.104 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.052e-06/0.6854, allocations: 3.938 kB / 1.104 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.01665/0.702, allocations: 1.724 MB / 1.106 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.7021, allocations: 51.41 kB / 1.106 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.7024, allocations: 308.5 kB / 1.106 GB, free: 428 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.7024, allocations: 29.7 kB / 1.106 GB, free: 392 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.7025, allocations: 172.2 kB / 1.106 GB, free: 216 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.7026, allocations: 86.73 kB / 1.107 GB, free: 128 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.7028, allocations: 77.83 kB / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7029, allocations: 346.8 kB / 1.107 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/0.704, allocations: 200.4 kB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.705, allocations: 262.9 kB / 1.107 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.7071, allocations: 438.8 kB / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7071, allocations: 0 / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007202/0.7143, allocations: 0.8926 MB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.7143, allocations: 4 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7143, allocations: 3.938 kB / 1.109 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.7162, allocations: 281.4 kB / 1.109 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.7166, allocations: 67.83 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/0.7306, allocations: 4.076 MB / 1.113 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.7314, allocations: 79.58 kB / 1.113 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.7314, allocations: 27.89 kB / 1.113 GB, free: 9.062 MB / 0.8731 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.0001764/0.7316, allocations: 137.8 kB / 1.113 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.7317, allocations: 27.62 kB / 1.113 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007025/0.7388, allocations: 0.959 MB / 1.114 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.7388, allocations: 4 kB / 1.114 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7388, allocations: 4 kB / 1.114 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.7388, allocations: 0 / 1.114 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.7393, allocations: 432.7 kB / 1.115 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7393, allocations: 0 / 1.115 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.7397, allocations: 51.89 kB / 1.115 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/0.7414, allocations: 277.4 kB / 1.115 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/0.7415, allocations: 15.97 kB / 1.115 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.7555, allocations: 4.08 MB / 1.119 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7555, allocations: 4.031 kB / 1.119 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/0.7624, allocations: 0.9581 MB / 1.12 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.7625, allocations: 112.7 kB / 1.12 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.03e-05/0.7626, allocations: 4 kB / 1.12 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/0.7633, allocations: 51.8 kB / 1.12 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.7634, allocations: 19.92 kB / 1.12 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.7635, allocations: 19.97 kB / 1.12 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002245/0.7637, allocations: 231 kB / 1.12 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7637, allocations: 3.938 kB / 1.12 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005761/0.7643, allocations: 112 kB / 1.12 GB, free: 1.191 MB / 0.8731 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.007535/0.7718, allocations: 1.514 MB / 1.122 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002778/0.7746, allocations: 0.7313 MB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.7747, allocations: 4 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/0.7761, allocations: 0.501 MB / 1.123 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.7768, allocations: 118.6 kB / 1.123 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.7953, allocations: 4.478 MB / 1.128 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.7956, allocations: 0.7722 MB / 1.128 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004563/0.7961, allocations: 78.88 kB / 1.128 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.7963, allocations: 107.3 kB / 1.129 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of SimCode: time 3.6e-07/0.7963, allocations: 7.938 kB / 1.129 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.8294, allocations: 16.34 MB / 1.144 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/0.8298, allocations: 226.7 kB / 1.145 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.762, allocations: 0 / 1.145 GB, free: 8.258 MB / 0.9044 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