Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_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.001834/0.001834, 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.001948/0.001948, allocations: 191.2 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.196/2.196, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.58/4.58, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002894, allocations: 69.52 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4365, allocations: 157.4 MB / 1.052 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.006064/0.4426, allocations: 2.364 MB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2866/0.7293, allocations: 149.8 MB / 1.201 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.7297, allocations: 3.938 kB / 1.201 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.7301, allocations: 35.66 kB / 1.201 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.7308, allocations: 79.39 kB / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.7321, allocations: 271.3 kB / 1.201 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.7329, allocations: 431.7 kB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.7333, allocations: 107.9 kB / 1.202 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.7368, allocations: 281.5 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/0.7373, allocations: 183.2 kB / 1.202 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.7374, allocations: 32 kB / 1.202 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.7384, allocations: 283.6 kB / 1.203 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.7386, allocations: 79.73 kB / 1.203 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.7388, allocations: 163.2 kB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.7399, allocations: 490.6 kB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7399, allocations: 4 kB / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7399, allocations: 0 / 1.203 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.7399, allocations: 0 / 1.203 GB, free: 13.47 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.00256/0.7425, allocations: 0.6978 MB / 1.204 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.7426, allocations: 12.62 kB / 1.204 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.7427, allocations: 62.72 kB / 1.204 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006263/0.749, allocations: 259.3 kB / 1.204 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.7497, allocations: 299.2 kB / 1.205 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.65e-05/0.7498, allocations: 24.56 kB / 1.205 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.75, allocations: 28 kB / 1.205 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.7532, allocations: 428.5 kB / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.7532, allocations: 0 / 1.205 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.7533, allocations: 15.94 kB / 1.205 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.7534, allocations: 4 kB / 1.205 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005067/0.7584, allocations: 0.5291 MB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006265/0.7647, allocations: 1.128 MB / 1.207 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/0.7697, allocations: 458.4 kB / 1.207 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.7717, allocations: 228.6 kB / 1.207 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.7719, allocations: 16.36 kB / 1.207 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.7719, allocations: 46.48 kB / 1.207 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 3.737e-06/0.7719, allocations: 0 / 1.207 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.02874/0.8007, allocations: 1.712 MB / 1.209 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.8008, allocations: 59.34 kB / 1.209 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.8015, allocations: 312.4 kB / 1.209 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.8017, allocations: 33.7 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.802, allocations: 168.2 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.8022, allocations: 86.75 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.8026, allocations: 77.92 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.8028, allocations: 346.7 kB / 1.21 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.8046, allocations: 204.3 kB / 1.21 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.8065, allocations: 259 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.81, allocations: 426.3 kB / 1.211 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.8101, allocations: 4 kB / 1.211 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.01415/0.8242, allocations: 0.8971 MB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.8243, allocations: 11.98 kB / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.8244, allocations: 0 / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004137/0.8285, allocations: 269.4 kB / 1.212 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.8296, allocations: 75.81 kB / 1.212 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03196/0.8616, allocations: 4.09 MB / 1.216 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.8634, allocations: 71.58 kB / 1.216 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.8636, allocations: 19.97 kB / 1.216 GB, free: 15.6 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.0004229/0.8641, allocations: 141.8 kB / 1.216 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.8643, allocations: 27.62 kB / 1.216 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/0.8806, allocations: 0.9541 MB / 1.217 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.8807, allocations: 4 kB / 1.217 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.8807, allocations: 11.92 kB / 1.217 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.8807, allocations: 0 / 1.217 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.882, allocations: 428.7 kB / 1.218 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.882, allocations: 0 / 1.218 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/0.883, allocations: 55.89 kB / 1.218 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004261/0.8872, allocations: 277.4 kB / 1.218 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.8874, allocations: 15.97 kB / 1.218 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02919/0.9166, allocations: 4.08 MB / 1.222 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.9166, allocations: 4.062 kB / 1.222 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.9294, allocations: 0.9569 MB / 1.223 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.9297, allocations: 112.7 kB / 1.223 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.9299, allocations: 8 kB / 1.223 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/0.9314, allocations: 43.95 kB / 1.223 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.9317, allocations: 23.91 kB / 1.223 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/0.9318, allocations: 15.97 kB / 1.223 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004209/0.9322, allocations: 227.1 kB / 1.223 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9322, allocations: 0 / 1.223 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001136/0.9334, allocations: 112 kB / 1.224 GB, free: 7.727 MB / 0.9825 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.01501/0.9484, allocations: 1.53 MB / 1.225 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006131/0.9546, allocations: 0.7392 MB / 1.226 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9546, allocations: 0 / 1.226 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003324/0.958, allocations: 0.4973 MB / 1.226 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.9596, allocations: 113.1 kB / 1.226 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04111/1.001, allocations: 4.487 MB / 1.231 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/1.001, allocations: 0.7645 MB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00134/1.003, allocations: 78.88 kB / 1.232 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/1.003, allocations: 99.39 kB / 1.232 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of SimCode: time 1.593e-06/1.003, allocations: 0 / 1.232 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.478/3.481, allocations: 16.35 MB / 1.248 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004172/3.482, allocations: 230.5 kB / 1.248 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.412/8.894, allocations: 0 / 1.248 GB, free: 195.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches