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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001112/0.001112, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.153/1.153, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.312/2.312, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 65.36 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2123, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002758/0.2151, allocations: 2.366 MB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1232/0.3383, allocations: 149.7 MB / 1.201 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.3386, allocations: 7.938 kB / 1.201 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3387, allocations: 35.7 kB / 1.201 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.3391, allocations: 91.33 kB / 1.201 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.3397, allocations: 259.3 kB / 1.201 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.3401, allocations: 407.7 kB / 1.201 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3402, allocations: 107.9 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.342, allocations: 265 kB / 1.202 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.3422, allocations: 167.3 kB / 1.202 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.3423, allocations: 16 kB / 1.202 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.3428, allocations: 271.6 kB / 1.202 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.3428, allocations: 63.73 kB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.343, allocations: 151.2 kB / 1.202 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.3435, allocations: 466.6 kB / 1.203 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3435, allocations: 3.938 kB / 1.203 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3435, allocations: 4 kB / 1.203 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.3435, allocations: 0 / 1.203 GB, free: 13.32 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.001521/0.345, allocations: 0.6978 MB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3451, allocations: 15.97 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.903e-05/0.3452, allocations: 62.72 kB / 1.204 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/0.348, allocations: 255.3 kB / 1.204 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.3483, allocations: 307.2 kB / 1.204 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3483, allocations: 20.56 kB / 1.204 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.3484, allocations: 24 kB / 1.204 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.3498, allocations: 432.5 kB / 1.205 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3498, allocations: 0 / 1.205 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.3498, allocations: 15.94 kB / 1.205 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3499, allocations: 7.984 kB / 1.205 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.3521, allocations: 0.5213 MB / 1.205 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.3549, allocations: 1.124 MB / 1.206 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.3571, allocations: 466.3 kB / 1.207 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.3582, allocations: 224.6 kB / 1.207 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.3582, allocations: 7.984 kB / 1.207 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3583, allocations: 46.5 kB / 1.207 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.3583, allocations: 0 / 1.207 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.01583/0.3741, allocations: 1.713 MB / 1.209 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.3742, allocations: 59.41 kB / 1.209 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.3744, allocations: 308.4 kB / 1.209 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.3745, allocations: 37.7 kB / 1.209 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.3746, allocations: 168.2 kB / 1.209 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.3746, allocations: 86.75 kB / 1.209 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.3748, allocations: 77.86 kB / 1.209 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.18e-05/0.3749, allocations: 346.7 kB / 1.21 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.3759, allocations: 200.4 kB / 1.21 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.377, allocations: 262.9 kB / 1.21 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.379, allocations: 430.8 kB / 1.211 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.379, allocations: 0 / 1.211 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006822/0.3858, allocations: 0.9005 MB / 1.211 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3858, allocations: 4 kB / 1.211 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3859, allocations: 0 / 1.211 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.3877, allocations: 281.4 kB / 1.212 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.3881, allocations: 71.81 kB / 1.212 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.4012, allocations: 3.791 MB / 1.215 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/0.402, allocations: 71.61 kB / 1.216 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.402, allocations: 19.97 kB / 1.216 GB, free: 15.76 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.000151/0.4022, allocations: 145.7 kB / 1.216 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/0.4023, allocations: 31.62 kB / 1.216 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/0.4094, allocations: 0.9464 MB / 1.217 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4094, allocations: 0 / 1.217 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4094, allocations: 3.938 kB / 1.217 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4094, allocations: 7.984 kB / 1.217 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004251/0.4098, allocations: 432.6 kB / 1.217 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4099, allocations: 4 kB / 1.217 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.4102, allocations: 55.83 kB / 1.217 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.4119, allocations: 281.4 kB / 1.217 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.4119, allocations: 15.97 kB / 1.217 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.4245, allocations: 3.782 MB / 1.221 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4245, allocations: 0 / 1.221 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00672/0.4313, allocations: 0.9531 MB / 1.222 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.4313, allocations: 108.7 kB / 1.222 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.4314, allocations: 8 kB / 1.222 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.4321, allocations: 47.86 kB / 1.222 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.4322, allocations: 27.91 kB / 1.222 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.4322, allocations: 11.97 kB / 1.222 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001864/0.4324, allocations: 227.1 kB / 1.222 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4324, allocations: 0 / 1.222 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004614/0.4329, allocations: 108 kB / 1.223 GB, free: 8.203 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.006925/0.4398, allocations: 1.515 MB / 1.224 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002471/0.4423, allocations: 0.7163 MB / 1.225 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4423, allocations: 4 kB / 1.225 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.4437, allocations: 0.4971 MB / 1.225 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.4443, allocations: 105.3 kB / 1.225 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.4623, allocations: 4.48 MB / 1.23 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.4626, allocations: 0.7646 MB / 1.23 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.463, allocations: 78.88 kB / 1.231 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.4632, allocations: 103.3 kB / 1.231 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.4632, allocations: 0 / 1.231 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.799/5.262, allocations: 15.84 MB / 1.246 GB, free: 76 kB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3595/5.622, allocations: 228.4 kB / 1.246 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/7.626, allocations: 0.5469 kB / 1.246 GB, free: 199.9 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