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: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007912/0.007913, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001904/0.001904, allocations: 201.8 kB / 16.68 MB, free: 5.98 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2845, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003458/0.288, allocations: 2.311 MB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9075/1.195, allocations: 152 MB / 1.358 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/1.196, allocations: 2.969 kB / 1.358 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/1.196, allocations: 47.09 kB / 1.358 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/1.196, allocations: 97.56 kB / 1.359 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/1.197, allocations: 313.4 kB / 1.359 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004415/1.198, allocations: 430.4 kB / 1.359 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/1.198, allocations: 111.2 kB / 1.359 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/1.199, allocations: 281.6 kB / 1.36 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/1.199, allocations: 182.5 kB / 1.36 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/1.199, allocations: 29.84 kB / 1.36 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/1.2, allocations: 284.4 kB / 1.36 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/1.2, allocations: 84.92 kB / 1.36 GB, free: 9.645 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/1.2, allocations: 159.5 kB / 1.36 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005376/1.201, allocations: 496.5 kB / 1.361 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/1.201, allocations: 0 / 1.361 GB, free: 9.367 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.201, allocations: 0 / 1.361 GB, free: 9.367 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.201, allocations: 1.25 kB / 1.361 GB, free: 9.367 MB / 1.061 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.001348/1.202, allocations: 0.7047 MB / 1.361 GB, free: 8.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.202, allocations: 9.656 kB / 1.361 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/1.205, allocations: 261.8 kB / 1.362 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/1.205, allocations: 312.4 kB / 1.362 GB, free: 8.531 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.205, allocations: 20.72 kB / 1.362 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/1.205, allocations: 26.28 kB / 1.362 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/1.207, allocations: 429.7 kB / 1.362 GB, free: 8.371 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.207, allocations: 0 / 1.362 GB, free: 8.371 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/1.207, allocations: 10.53 kB / 1.363 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/1.207, allocations: 9.656 kB / 1.363 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/1.209, allocations: 0.5289 MB / 1.363 GB, free: 8.211 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/1.212, allocations: 1.135 MB / 1.364 GB, free: 7.602 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/1.214, allocations: 459.2 kB / 1.365 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.215, allocations: 237.9 kB / 1.365 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/1.215, allocations: 11.22 kB / 1.365 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.215, allocations: 33.62 kB / 1.365 GB, free: 7.336 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 3.396e-06/1.215, allocations: 0 / 1.365 GB, free: 7.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.01587/1.231, allocations: 1.734 MB / 1.367 GB, free: 6.809 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/1.231, allocations: 53.56 kB / 1.367 GB, free: 6.746 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/1.231, allocations: 306.1 kB / 1.367 GB, free: 6.578 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/1.232, allocations: 30.89 kB / 1.367 GB, free: 6.543 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/1.232, allocations: 167.4 kB / 1.367 GB, free: 6.398 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.232, allocations: 88.69 kB / 1.367 GB, free: 6.328 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/1.232, allocations: 80.38 kB / 1.367 GB, free: 6.285 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.232, allocations: 338.9 kB / 1.368 GB, free: 5.961 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/1.233, allocations: 201.4 kB / 1.368 GB, free: 5.906 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.234, allocations: 258.7 kB / 1.368 GB, free: 5.789 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/1.236, allocations: 441.9 kB / 1.368 GB, free: 5.621 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.236, allocations: 0 / 1.368 GB, free: 5.621 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007105/1.244, allocations: 0.8907 MB / 1.369 GB, free: 5.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.244, allocations: 6.344 kB / 1.369 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.244, allocations: 0 / 1.369 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/1.246, allocations: 284.5 kB / 1.37 GB, free: 5.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/1.246, allocations: 64.69 kB / 1.37 GB, free: 5.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/1.261, allocations: 4.088 MB / 1.374 GB, free: 1.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/1.261, allocations: 76.08 kB / 1.374 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/1.262, allocations: 24.61 kB / 1.374 GB, free: 1.441 MB / 1.061 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.0002489/1.262, allocations: 138.4 kB / 1.374 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.262, allocations: 30.41 kB / 1.374 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00718/1.269, allocations: 0.9524 MB / 1.375 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.269, allocations: 2.625 kB / 1.375 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.269, allocations: 4 kB / 1.375 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.269, allocations: 0 / 1.375 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/1.27, allocations: 423.5 kB / 1.375 GB, free: 392 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/1.27, allocations: 3.938 kB / 1.375 GB, free: 388 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/1.27, allocations: 57.58 kB / 1.375 GB, free: 368 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/1.272, allocations: 283.4 kB / 1.376 GB, free: 216 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/1.272, allocations: 16.16 kB / 1.376 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/1.286, allocations: 4.079 MB / 1.38 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/1.286, allocations: 9.078 kB / 1.38 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007101/1.294, allocations: 0.9518 MB / 1.38 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/1.294, allocations: 110.1 kB / 1.381 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/1.294, allocations: 5.109 kB / 1.381 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/1.295, allocations: 45.05 kB / 1.381 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/1.295, allocations: 24.2 kB / 1.381 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/1.295, allocations: 19.38 kB / 1.381 GB, free: 11.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002493/1.295, allocations: 231 kB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.41e-07/1.295, allocations: 0 / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006433/1.296, allocations: 114.8 kB / 1.381 GB, free: 11.75 MB / 1.076 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.0002278/1.296, allocations: 115.1 kB / 1.381 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002805/1.299, allocations: 0.7326 MB / 1.382 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.299, allocations: 0 / 1.382 GB, free: 11.17 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00155/1.3, allocations: 0.4946 MB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006523/1.301, allocations: 113.5 kB / 1.382 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/1.303, allocations: 0.6924 MB / 1.383 GB, free: 10.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/1.304, allocations: 0.7644 MB / 1.384 GB, free: 9.562 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003846/1.304, allocations: 78.56 kB / 1.384 GB, free: 9.516 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/1.304, allocations: 40.03 kB / 1.384 GB, free: 9.496 MB / 1.076 GB Notification: Performance of SimCode: time 2e-07/1.304, allocations: 0 / 1.384 GB, free: 9.496 MB / 1.076 GB Notification: Performance of Templates: time 0.0217/1.326, allocations: 13.9 MB / 1.398 GB, free: 2.191 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile (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 & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches