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.006703/0.006703, allocations: 106.1 kB / 15.73 MB, free: 6 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.001505/0.001505, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.514/2.514, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 59.91 kB / 1.054 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8585/0.8608, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003556/0.8644, allocations: 2.314 MB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1528/1.017, allocations: 152 MB / 1.358 GB, free: 2.621 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/1.017, allocations: 7.938 kB / 1.358 GB, free: 2.613 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/1.018, allocations: 43.47 kB / 1.358 GB, free: 2.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/1.018, allocations: 99.19 kB / 1.358 GB, free: 2.473 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/1.019, allocations: 303 kB / 1.358 GB, free: 2.176 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003724/1.019, allocations: 435.7 kB / 1.359 GB, free: 1.746 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/1.019, allocations: 109.9 kB / 1.359 GB, free: 1.637 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/1.02, allocations: 276.8 kB / 1.359 GB, free: 1.387 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/1.021, allocations: 187.2 kB / 1.359 GB, free: 1.203 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/1.021, allocations: 31.94 kB / 1.359 GB, free: 1.172 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/1.021, allocations: 275.6 kB / 1.36 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/1.021, allocations: 75.73 kB / 1.36 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/1.021, allocations: 167.2 kB / 1.36 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005521/1.022, allocations: 0.4907 MB / 1.36 GB, free: 176 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.022, allocations: 0 / 1.36 GB, free: 176 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.463e-06/1.022, allocations: 3.938 kB / 1.36 GB, free: 172 kB / 1.076 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.022, allocations: 0 / 1.36 GB, free: 172 kB / 1.076 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.001361/1.023, allocations: 0.7095 MB / 1.361 GB, free: 15.41 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/1.023, allocations: 8.031 kB / 1.361 GB, free: 15.4 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/1.023, allocations: 66.47 kB / 1.361 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/1.026, allocations: 255.3 kB / 1.361 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/1.027, allocations: 311.2 kB / 1.362 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/1.027, allocations: 16.56 kB / 1.362 GB, free: 14.72 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/1.027, allocations: 28 kB / 1.362 GB, free: 14.69 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.028, allocations: 424.5 kB / 1.362 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.028, allocations: 12 kB / 1.362 GB, free: 14.26 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/1.028, allocations: 11.94 kB / 1.362 GB, free: 14.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/1.028, allocations: 8 kB / 1.362 GB, free: 14.24 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/1.03, allocations: 0.5252 MB / 1.363 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00285/1.033, allocations: 1.124 MB / 1.364 GB, free: 12.54 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/1.035, allocations: 468.2 kB / 1.364 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/1.037, allocations: 232.7 kB / 1.364 GB, free: 11.84 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/1.037, allocations: 4 kB / 1.364 GB, free: 11.84 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.037, allocations: 38.5 kB / 1.364 GB, free: 11.79 MB / 1.092 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/1.037, allocations: 0 / 1.364 GB, free: 11.79 MB / 1.092 GB Notification: Performance of matching and sorting (n=25): time 0.01551/1.052, allocations: 1.727 MB / 1.366 GB, free: 10.02 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.052, allocations: 55.41 kB / 1.366 GB, free: 9.949 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/1.052, allocations: 308.5 kB / 1.366 GB, free: 9.645 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/1.053, allocations: 29.7 kB / 1.366 GB, free: 9.609 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/1.053, allocations: 168.2 kB / 1.367 GB, free: 9.441 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/1.053, allocations: 86.73 kB / 1.367 GB, free: 9.355 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.053, allocations: 77.86 kB / 1.367 GB, free: 9.27 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.053, allocations: 350.7 kB / 1.367 GB, free: 8.918 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/1.054, allocations: 200.3 kB / 1.367 GB, free: 8.723 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.055, allocations: 259 kB / 1.368 GB, free: 8.449 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/1.057, allocations: 438.8 kB / 1.368 GB, free: 8.012 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.057, allocations: 0 / 1.368 GB, free: 8.012 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006806/1.064, allocations: 0.8927 MB / 1.369 GB, free: 7.105 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.064, allocations: 4 kB / 1.369 GB, free: 7.102 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.064, allocations: 4 kB / 1.369 GB, free: 7.098 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/1.066, allocations: 285.3 kB / 1.369 GB, free: 6.812 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/1.066, allocations: 67.89 kB / 1.369 GB, free: 6.746 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.08, allocations: 4.086 MB / 1.373 GB, free: 2.383 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/1.081, allocations: 79.62 kB / 1.373 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/1.081, allocations: 19.97 kB / 1.373 GB, free: 2.285 MB / 1.092 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.0002251/1.082, allocations: 141.8 kB / 1.373 GB, free: 2.137 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/1.082, allocations: 31.62 kB / 1.373 GB, free: 2.105 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007138/1.089, allocations: 0.9418 MB / 1.374 GB, free: 1.152 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.089, allocations: 7.938 kB / 1.374 GB, free: 1.145 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/1.089, allocations: 0 / 1.374 GB, free: 1.145 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.089, allocations: 3.984 kB / 1.374 GB, free: 1.141 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/1.089, allocations: 424.7 kB / 1.375 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.089, allocations: 4 kB / 1.375 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/1.09, allocations: 47.95 kB / 1.375 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/1.092, allocations: 281.4 kB / 1.375 GB, free: 352 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/1.092, allocations: 11.97 kB / 1.375 GB, free: 340 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/1.106, allocations: 4.092 MB / 1.379 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.106, allocations: 3.938 kB / 1.379 GB, free: 11.95 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00695/1.113, allocations: 0.9611 MB / 1.38 GB, free: 10.97 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/1.113, allocations: 108.7 kB / 1.38 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/1.113, allocations: 4 kB / 1.38 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/1.114, allocations: 47.95 kB / 1.38 GB, free: 10.79 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/1.114, allocations: 27.91 kB / 1.38 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/1.114, allocations: 11.97 kB / 1.38 GB, free: 10.75 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002468/1.114, allocations: 231.1 kB / 1.38 GB, free: 10.53 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.61e-07/1.114, allocations: 0 / 1.38 GB, free: 10.53 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006045/1.115, allocations: 115.9 kB / 1.381 GB, free: 10.42 MB / 1.107 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.007337/1.122, allocations: 1.521 MB / 1.382 GB, free: 8.863 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002723/1.125, allocations: 0.7235 MB / 1.383 GB, free: 8.113 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.125, allocations: 0 / 1.383 GB, free: 8.113 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/1.127, allocations: 0.4938 MB / 1.383 GB, free: 7.594 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/1.127, allocations: 101.3 kB / 1.383 GB, free: 7.496 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.147, allocations: 4.39 MB / 1.388 GB, free: 2.996 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/1.147, allocations: 0.7684 MB / 1.388 GB, free: 2.203 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004836/1.148, allocations: 78.88 kB / 1.388 GB, free: 2.129 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.148, allocations: 103.4 kB / 1.389 GB, free: 2.027 MB / 1.107 GB Notification: Performance of SimCode: time 1.412e-06/1.148, allocations: 0 / 1.389 GB, free: 2.027 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04596/1.194, allocations: 17 MB / 1.405 GB, free: 1.211 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.83, allocations: 4.594 kB / 1.405 GB, free: 1.207 MB / 1.123 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