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: 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.0008187/0.0008187, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 191.2 kB / 16.93 MB, free: 6.75 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.33/1.33, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 10.25 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002323/0.2535, allocations: 2 MB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.4153, allocations: 148.1 MB / 1.206 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002283/0.4156, allocations: 3.938 kB / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.4158, allocations: 31.72 kB / 1.206 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.4161, allocations: 91.31 kB / 1.206 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.4169, allocations: 255.3 kB / 1.206 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005267/0.4174, allocations: 411.7 kB / 1.207 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002406/0.4177, allocations: 99.98 kB / 1.207 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.4199, allocations: 237.8 kB / 1.207 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.4202, allocations: 163.3 kB / 1.207 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.4203, allocations: 12 kB / 1.207 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006307/0.4209, allocations: 263.6 kB / 1.207 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.421, allocations: 59.73 kB / 1.207 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.4212, allocations: 168.9 kB / 1.208 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.4218, allocations: 339.1 kB / 1.208 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4218, allocations: 0 / 1.208 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4218, allocations: 0 / 1.208 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.4218, allocations: 0 / 1.208 GB, free: 12.2 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.001492/0.4233, allocations: 0.6512 MB / 1.209 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4234, allocations: 19.97 kB / 1.209 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.4262, allocations: 255.5 kB / 1.209 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.4265, allocations: 307.1 kB / 1.209 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4266, allocations: 20.56 kB / 1.209 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/0.4267, allocations: 24 kB / 1.209 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.4281, allocations: 436.5 kB / 1.21 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4281, allocations: 0 / 1.21 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.4282, allocations: 8 kB / 1.21 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.4282, allocations: 11.94 kB / 1.21 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.4305, allocations: 0.533 MB / 1.21 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.4336, allocations: 1.147 MB / 1.211 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.4358, allocations: 458.4 kB / 1.212 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.4368, allocations: 236.6 kB / 1.212 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.4369, allocations: 8.375 kB / 1.212 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4369, allocations: 42.5 kB / 1.212 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.414e-06/0.4369, allocations: 4 kB / 1.212 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.01641/0.4534, allocations: 1.712 MB / 1.214 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.4534, allocations: 59.34 kB / 1.214 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.4538, allocations: 296.6 kB / 1.214 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-05/0.4539, allocations: 33.64 kB / 1.214 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.454, allocations: 172.2 kB / 1.214 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.4542, allocations: 82.75 kB / 1.214 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.4543, allocations: 29.7 kB / 1.214 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4544, allocations: 346.8 kB / 1.215 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.4555, allocations: 204.4 kB / 1.215 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.4565, allocations: 263 kB / 1.215 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.4587, allocations: 446.8 kB / 1.215 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.4587, allocations: 0 / 1.215 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007192/0.4659, allocations: 0.8927 MB / 1.216 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4659, allocations: 9.875 kB / 1.216 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4659, allocations: 0 / 1.216 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.4678, allocations: 281.4 kB / 1.217 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.4684, allocations: 67.88 kB / 1.217 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.483, allocations: 3.78 MB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.484, allocations: 75.64 kB / 1.22 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4841, allocations: 15.97 kB / 1.22 GB, free: 14.77 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.0002427/0.4843, allocations: 145.7 kB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.4844, allocations: 35.62 kB / 1.221 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007456/0.4919, allocations: 0.9425 MB / 1.222 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4919, allocations: 0 / 1.222 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.492, allocations: 7.922 kB / 1.222 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.492, allocations: 8 kB / 1.222 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.4926, allocations: 420.7 kB / 1.222 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4926, allocations: 0 / 1.222 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.4931, allocations: 55.95 kB / 1.222 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.4949, allocations: 285.2 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.495, allocations: 19.91 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/0.5086, allocations: 3.762 MB / 1.226 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5087, allocations: 0 / 1.226 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007158/0.5158, allocations: 0.9492 MB / 1.227 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.516, allocations: 116.7 kB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.5161, allocations: 4 kB / 1.227 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007898/0.5169, allocations: 51.86 kB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.517, allocations: 27.91 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.5171, allocations: 15.97 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002567/0.5173, allocations: 227.1 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5173, allocations: 0 / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000636/0.518, allocations: 108 kB / 1.227 GB, free: 7.234 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.0002464/0.5182, allocations: 120.5 kB / 1.228 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002744/0.521, allocations: 0.7352 MB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.521, allocations: 0 / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.5226, allocations: 0.505 MB / 1.229 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007152/0.5233, allocations: 97.28 kB / 1.229 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.5258, allocations: 0.8271 MB / 1.23 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5262, allocations: 0.7645 MB / 1.23 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.5264, allocations: 39.34 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.5264, allocations: 4 kB / 1.23 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of Templates: time 0.01176/0.5381, allocations: 8.255 MB / 1.239 GB, free: 11.79 MB / 0.9981 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/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