Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001274/0.001279, allocations: 107.3 kB / 16.41 MB, free: 6.492 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.001254/0.001254, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 55.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8383, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003876/0.8422, allocations: 2.302 MB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1618/1.004, allocations: 152 MB / 1.318 GB, free: 8.957 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/1.004, allocations: 4 kB / 1.318 GB, free: 8.953 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/1.005, allocations: 47.45 kB / 1.318 GB, free: 8.906 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003825/1.005, allocations: 95.2 kB / 1.318 GB, free: 8.812 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007863/1.006, allocations: 307 kB / 1.318 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004223/1.006, allocations: 435.8 kB / 1.319 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/1.006, allocations: 99.7 kB / 1.319 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/1.008, allocations: 284.6 kB / 1.319 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/1.008, allocations: 183.2 kB / 1.319 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/1.008, allocations: 35.98 kB / 1.319 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/1.009, allocations: 275.6 kB / 1.32 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/1.009, allocations: 79.73 kB / 1.32 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/1.009, allocations: 167.2 kB / 1.32 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005756/1.009, allocations: 492.2 kB / 1.32 GB, free: 6.527 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.009, allocations: 0 / 1.32 GB, free: 6.527 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/1.009, allocations: 4 kB / 1.32 GB, free: 6.523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.009, allocations: 4 kB / 1.32 GB, free: 6.52 MB / 1.045 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.001473/1.011, allocations: 0.7055 MB / 1.321 GB, free: 5.762 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/1.011, allocations: 12.86 kB / 1.321 GB, free: 5.75 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/1.014, allocations: 263.5 kB / 1.321 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/1.014, allocations: 303.2 kB / 1.322 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.014, allocations: 20.56 kB / 1.322 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/1.014, allocations: 28 kB / 1.322 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.016, allocations: 428.5 kB / 1.322 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.016, allocations: 7.938 kB / 1.322 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/1.016, allocations: 8 kB / 1.322 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.016, allocations: 11.94 kB / 1.322 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/1.018, allocations: 0.5291 MB / 1.323 GB, free: 4.133 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/1.021, allocations: 1.124 MB / 1.324 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/1.024, allocations: 470.1 kB / 1.324 GB, free: 2.484 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/1.025, allocations: 228.7 kB / 1.324 GB, free: 2.258 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/1.025, allocations: 8 kB / 1.324 GB, free: 2.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/1.025, allocations: 34.56 kB / 1.324 GB, free: 2.207 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/1.025, allocations: 0 / 1.324 GB, free: 2.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.01564/1.04, allocations: 1.727 MB / 1.326 GB, free: 440 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/1.04, allocations: 55.41 kB / 1.326 GB, free: 372 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/1.041, allocations: 308.5 kB / 1.326 GB, free: 52 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/1.041, allocations: 29.7 kB / 1.326 GB, free: 16 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/1.041, allocations: 168.2 kB / 1.327 GB, free: 15.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/1.041, allocations: 86.73 kB / 1.327 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/1.041, allocations: 77.92 kB / 1.327 GB, free: 15.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.041, allocations: 342.7 kB / 1.327 GB, free: 15.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/1.042, allocations: 204.4 kB / 1.327 GB, free: 15.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.044, allocations: 259.5 kB / 1.328 GB, free: 14.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/1.045, allocations: 431.3 kB / 1.328 GB, free: 14.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.045, allocations: 0 / 1.328 GB, free: 14.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006915/1.052, allocations: 0.8971 MB / 1.329 GB, free: 13.52 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/1.052, allocations: 5.562 kB / 1.329 GB, free: 13.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/1.052, allocations: 11.94 kB / 1.329 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/1.054, allocations: 273.4 kB / 1.329 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/1.055, allocations: 71.89 kB / 1.329 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.069, allocations: 4.103 MB / 1.333 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/1.07, allocations: 79.53 kB / 1.333 GB, free: 8.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/1.07, allocations: 15.97 kB / 1.333 GB, free: 8.691 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.0002502/1.071, allocations: 142.9 kB / 1.333 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/1.071, allocations: 31.62 kB / 1.333 GB, free: 8.512 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007328/1.078, allocations: 0.9456 MB / 1.334 GB, free: 7.555 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/1.078, allocations: 4 kB / 1.334 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.078, allocations: 0 / 1.334 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.078, allocations: 3.984 kB / 1.334 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/1.079, allocations: 428.8 kB / 1.335 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.079, allocations: 0 / 1.335 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/1.079, allocations: 55.89 kB / 1.335 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/1.081, allocations: 273.4 kB / 1.335 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/1.081, allocations: 15.97 kB / 1.335 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01393/1.095, allocations: 4.081 MB / 1.339 GB, free: 2.367 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.095, allocations: 4.062 kB / 1.339 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007016/1.102, allocations: 0.9648 MB / 1.34 GB, free: 1.375 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/1.102, allocations: 108.7 kB / 1.34 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/1.102, allocations: 7.938 kB / 1.34 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/1.103, allocations: 43.95 kB / 1.34 GB, free: 1.199 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/1.103, allocations: 27.95 kB / 1.34 GB, free: 1.172 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/1.103, allocations: 15.91 kB / 1.34 GB, free: 1.156 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002393/1.104, allocations: 227.1 kB / 1.34 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.104, allocations: 0 / 1.34 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006115/1.104, allocations: 115.9 kB / 1.341 GB, free: 0.8203 MB / 1.061 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.0002229/1.104, allocations: 123.2 kB / 1.341 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003271/1.108, allocations: 0.7196 MB / 1.341 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.108, allocations: 0 / 1.341 GB, free: 15.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/1.109, allocations: 0.4972 MB / 1.342 GB, free: 15.42 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/1.11, allocations: 105.3 kB / 1.342 GB, free: 15.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/1.113, allocations: 0.7132 MB / 1.343 GB, free: 14.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/1.113, allocations: 0.7723 MB / 1.343 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/1.113, allocations: 39.42 kB / 1.343 GB, free: 13.74 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/1.113, allocations: 0 / 1.343 GB, free: 13.74 MB / 1.076 GB Notification: Performance of Templates: time 0.01212/1.126, allocations: 8.336 MB / 1.352 GB, free: 5.43 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches