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.007923/0.007923, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001755/0.001755, allocations: 194.7 kB / 16.67 MB, free: 5.926 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.91 kB / 1.054 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7876, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003508/0.7911, allocations: 2.314 MB / 1.209 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1807/0.9718, allocations: 152 MB / 1.358 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.9721, allocations: 7.938 kB / 1.358 GB, free: 2.645 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.9724, allocations: 51.41 kB / 1.358 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.9728, allocations: 103.2 kB / 1.358 GB, free: 2.492 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.9735, allocations: 306.9 kB / 1.358 GB, free: 2.191 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.974, allocations: 431.8 kB / 1.359 GB, free: 1.766 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.9742, allocations: 105.9 kB / 1.359 GB, free: 1.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.9756, allocations: 285.4 kB / 1.359 GB, free: 1.406 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.9758, allocations: 183.2 kB / 1.359 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.9759, allocations: 32 kB / 1.359 GB, free: 1.195 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.9764, allocations: 283.5 kB / 1.36 GB, free: 0.918 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.665e-05/0.9765, allocations: 75.73 kB / 1.36 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.9767, allocations: 167.2 kB / 1.36 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.9773, allocations: 498.5 kB / 1.36 GB, free: 196 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.9773, allocations: 0 / 1.36 GB, free: 196 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9773, allocations: 0 / 1.36 GB, free: 196 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9773, allocations: 0 / 1.36 GB, free: 196 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.001488/0.9788, allocations: 0.7056 MB / 1.361 GB, free: 15.44 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.9789, allocations: 12.03 kB / 1.361 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.357e-05/0.979, allocations: 66.72 kB / 1.361 GB, free: 15.35 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.9818, allocations: 255.3 kB / 1.361 GB, free: 15.1 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.9822, allocations: 303.2 kB / 1.362 GB, free: 14.77 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.9823, allocations: 20.56 kB / 1.362 GB, free: 14.75 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.9823, allocations: 31.98 kB / 1.362 GB, free: 14.71 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.9839, allocations: 432.5 kB / 1.362 GB, free: 14.29 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9839, allocations: 0 / 1.362 GB, free: 14.29 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.9839, allocations: 11.94 kB / 1.362 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.9839, allocations: 8 kB / 1.362 GB, free: 14.27 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.9863, allocations: 0.5329 MB / 1.363 GB, free: 13.73 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.9895, allocations: 1.128 MB / 1.364 GB, free: 12.55 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.9918, allocations: 454.7 kB / 1.364 GB, free: 12.1 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.9929, allocations: 232.8 kB / 1.364 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.915e-05/0.993, allocations: 4 kB / 1.364 GB, free: 11.86 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.9931, allocations: 42.44 kB / 1.364 GB, free: 11.81 MB / 1.092 GB Notification: Performance of pre-optimization done (n=25): time 2.895e-06/0.9931, allocations: 0 / 1.364 GB, free: 11.81 MB / 1.092 GB Notification: Performance of matching and sorting (n=25): time 0.0161/1.009, allocations: 1.723 MB / 1.366 GB, free: 10.04 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/1.009, allocations: 59.34 kB / 1.366 GB, free: 9.973 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/1.01, allocations: 308.5 kB / 1.366 GB, free: 9.668 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/1.01, allocations: 37.7 kB / 1.367 GB, free: 9.625 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/1.01, allocations: 168.2 kB / 1.367 GB, free: 9.457 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.932e-05/1.01, allocations: 86.75 kB / 1.367 GB, free: 9.371 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/1.01, allocations: 69.92 kB / 1.367 GB, free: 9.293 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.01, allocations: 350.7 kB / 1.367 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.011, allocations: 196.4 kB / 1.367 GB, free: 8.75 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/1.012, allocations: 266.9 kB / 1.368 GB, free: 8.469 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/1.015, allocations: 434.7 kB / 1.368 GB, free: 8.035 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/1.015, allocations: 7.984 kB / 1.368 GB, free: 8.027 MB / 1.092 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007107/1.022, allocations: 0.8849 MB / 1.369 GB, free: 7.129 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/1.022, allocations: 10.19 kB / 1.369 GB, free: 7.121 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.022, allocations: 0 / 1.369 GB, free: 7.121 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/1.024, allocations: 285.3 kB / 1.369 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/1.024, allocations: 71.88 kB / 1.369 GB, free: 6.766 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.039, allocations: 4.086 MB / 1.373 GB, free: 2.402 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/1.04, allocations: 71.64 kB / 1.373 GB, free: 2.332 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/1.04, allocations: 19.97 kB / 1.373 GB, free: 2.312 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.0002334/1.041, allocations: 141.7 kB / 1.373 GB, free: 2.164 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/1.041, allocations: 31.62 kB / 1.373 GB, free: 2.133 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/1.048, allocations: 0.9495 MB / 1.374 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.048, allocations: 0 / 1.374 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.048, allocations: 0 / 1.374 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.048, allocations: 3.984 kB / 1.374 GB, free: 1.168 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/1.049, allocations: 428.7 kB / 1.375 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.049, allocations: 0 / 1.375 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/1.049, allocations: 51.95 kB / 1.375 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001892/1.051, allocations: 285.3 kB / 1.375 GB, free: 372 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/1.051, allocations: 19.91 kB / 1.375 GB, free: 352 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/1.066, allocations: 4.069 MB / 1.379 GB, free: 11.99 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.066, allocations: 0 / 1.379 GB, free: 11.99 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00749/1.074, allocations: 0.9651 MB / 1.38 GB, free: 11 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/1.074, allocations: 112.7 kB / 1.38 GB, free: 10.88 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/1.074, allocations: 8 kB / 1.38 GB, free: 10.87 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/1.075, allocations: 43.95 kB / 1.38 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/1.075, allocations: 27.84 kB / 1.38 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/1.075, allocations: 15.97 kB / 1.38 GB, free: 10.78 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002505/1.075, allocations: 219.1 kB / 1.38 GB, free: 10.57 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.075, allocations: 4 kB / 1.38 GB, free: 10.57 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006092/1.076, allocations: 115.9 kB / 1.381 GB, free: 10.45 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.007769/1.083, allocations: 1.521 MB / 1.382 GB, free: 8.898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.086, allocations: 0.7235 MB / 1.383 GB, free: 8.148 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.086, allocations: 0 / 1.383 GB, free: 8.148 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/1.088, allocations: 0.5016 MB / 1.383 GB, free: 7.621 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/1.089, allocations: 109.2 kB / 1.383 GB, free: 7.516 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.109, allocations: 4.392 MB / 1.388 GB, free: 3.016 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/1.109, allocations: 0.7645 MB / 1.388 GB, free: 2.227 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004265/1.11, allocations: 78.88 kB / 1.388 GB, free: 2.152 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/1.11, allocations: 103.4 kB / 1.389 GB, free: 2.051 MB / 1.107 GB Notification: Performance of SimCode: time 6.71e-07/1.11, allocations: 0 / 1.389 GB, free: 2.051 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/1.157, allocations: 17 MB / 1.405 GB, free: 1.227 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.45, allocations: 4.656 kB / 1.405 GB, free: 1.223 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