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.0008776/0.0008776, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004997/0.004998, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.467/2.467, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 13.06 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2321, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002107/0.2343, allocations: 2 MB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.3691, allocations: 148.1 MB / 1.205 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.3693, allocations: 4 kB / 1.205 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.3695, allocations: 31.66 kB / 1.205 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.3699, allocations: 91.38 kB / 1.205 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.3706, allocations: 259.2 kB / 1.206 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.371, allocations: 403.8 kB / 1.206 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.3712, allocations: 107.9 kB / 1.206 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.373, allocations: 244.8 kB / 1.206 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.3732, allocations: 155.3 kB / 1.207 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.3733, allocations: 12 kB / 1.207 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.3738, allocations: 263.6 kB / 1.207 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.3739, allocations: 59.73 kB / 1.207 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.374, allocations: 164.9 kB / 1.207 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.3745, allocations: 462.5 kB / 1.208 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3745, allocations: 0 / 1.208 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3745, allocations: 0 / 1.208 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.3745, allocations: 0 / 1.208 GB, free: 11.95 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.001213/0.3758, allocations: 0.6551 MB / 1.208 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3758, allocations: 15.97 kB / 1.208 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.3759, allocations: 62.72 kB / 1.208 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002612/0.3785, allocations: 255.3 kB / 1.208 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.3788, allocations: 307.1 kB / 1.209 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3789, allocations: 24.56 kB / 1.209 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.3789, allocations: 24 kB / 1.209 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.3803, allocations: 436.5 kB / 1.209 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3803, allocations: 3.984 kB / 1.209 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.3803, allocations: 11.94 kB / 1.209 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3804, allocations: 8 kB / 1.209 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.3825, allocations: 0.5291 MB / 1.21 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.3853, allocations: 1.143 MB / 1.211 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.3874, allocations: 462.3 kB / 1.211 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.3884, allocations: 240.6 kB / 1.212 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.3885, allocations: 0 / 1.212 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.3885, allocations: 46.44 kB / 1.212 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 1.042e-06/0.3885, allocations: 0 / 1.212 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.01526/0.4038, allocations: 1.705 MB / 1.213 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4038, allocations: 59.34 kB / 1.213 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.4041, allocations: 304.6 kB / 1.214 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.4041, allocations: 29.7 kB / 1.214 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4043, allocations: 172.2 kB / 1.214 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.4043, allocations: 94.67 kB / 1.214 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.4044, allocations: 21.72 kB / 1.214 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.4045, allocations: 350.7 kB / 1.214 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009844/0.4055, allocations: 204.4 kB / 1.214 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.4065, allocations: 266.9 kB / 1.215 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.4085, allocations: 446.8 kB / 1.215 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4085, allocations: 0 / 1.215 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006756/0.4153, allocations: 0.8849 MB / 1.216 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4153, allocations: 7.984 kB / 1.216 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4153, allocations: 4 kB / 1.216 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.4171, allocations: 277.4 kB / 1.216 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.4175, allocations: 79.81 kB / 1.216 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.4305, allocations: 3.772 MB / 1.22 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.4312, allocations: 71.61 kB / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.4313, allocations: 19.95 kB / 1.22 GB, free: 14.46 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.0001649/0.4315, allocations: 145.7 kB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.4315, allocations: 31.62 kB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006968/0.4385, allocations: 0.9541 MB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4385, allocations: 4 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4385, allocations: 3.938 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4385, allocations: 3.984 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.439, allocations: 424.7 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.439, allocations: 0 / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.4394, allocations: 59.95 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/0.4411, allocations: 281.3 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.4412, allocations: 11.97 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.454, allocations: 3.766 MB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.454, allocations: 4.062 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006681/0.4607, allocations: 0.9452 MB / 1.227 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.143e-05/0.4608, allocations: 116.6 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.4608, allocations: 7.938 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.4615, allocations: 47.95 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.4616, allocations: 23.91 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4617, allocations: 15.97 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002014/0.4619, allocations: 231.1 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4619, allocations: 0 / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004747/0.4623, allocations: 104 kB / 1.227 GB, free: 6.918 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.007087/0.4694, allocations: 1.521 MB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002514/0.472, allocations: 0.732 MB / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.472, allocations: 0 / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.4734, allocations: 0.5089 MB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.4741, allocations: 111.1 kB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/0.4922, allocations: 4.497 MB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4925, allocations: 0.7645 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004247/0.4929, allocations: 82.86 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.4931, allocations: 99.39 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.4931, allocations: 0 / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.759/2.252, allocations: 15.68 MB / 1.251 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/2.252, allocations: 224.1 kB / 1.251 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/4.292, allocations: 2.391 kB / 1.251 GB, free: 191.1 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