Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001386/0.001386, allocations: 105 kB / 16.41 MB, free: 6.465 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.001703/0.001703, allocations: 187 kB / 17.34 MB, free: 5.719 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.35/2.35, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.197, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003679/1.201, allocations: 2.317 MB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2162/1.417, allocations: 152 MB / 1.239 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/1.417, allocations: 2.219 kB / 1.239 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/1.418, allocations: 49.8 kB / 1.239 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006156/1.418, allocations: 99.92 kB / 1.239 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/1.419, allocations: 302.3 kB / 1.24 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006823/1.42, allocations: 432.7 kB / 1.24 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/1.42, allocations: 108.9 kB / 1.24 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/1.422, allocations: 276.7 kB / 1.24 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/1.422, allocations: 190.6 kB / 1.241 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/1.423, allocations: 30.81 kB / 1.241 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/1.423, allocations: 273.6 kB / 1.241 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/1.423, allocations: 84.09 kB / 1.241 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002515/1.424, allocations: 161.9 kB / 1.241 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/1.425, allocations: 0.4894 MB / 1.242 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.425, allocations: 1.375 kB / 1.242 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.833e-06/1.425, allocations: 0 / 1.242 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.425, allocations: 0 / 1.242 GB, free: 15.78 MB / 0.9825 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.0019/1.427, allocations: 0.699 MB / 1.242 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.427, allocations: 13.55 kB / 1.242 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/1.43, allocations: 261.9 kB / 1.243 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/1.43, allocations: 312.9 kB / 1.243 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/1.43, allocations: 20.22 kB / 1.243 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/1.43, allocations: 26 kB / 1.243 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.432, allocations: 431.4 kB / 1.243 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.432, allocations: 0 / 1.243 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/1.432, allocations: 10.91 kB / 1.243 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.432, allocations: 9.719 kB / 1.243 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/1.434, allocations: 0.5335 MB / 1.244 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/1.438, allocations: 1.12 MB / 1.245 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/1.44, allocations: 456.5 kB / 1.245 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.441, allocations: 232.6 kB / 1.246 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/1.441, allocations: 4 kB / 1.246 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.441, allocations: 42.56 kB / 1.246 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/1.441, allocations: 0 / 1.246 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.01555/1.457, allocations: 1.727 MB / 1.247 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/1.457, allocations: 55.41 kB / 1.247 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/1.457, allocations: 312.4 kB / 1.248 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.454e-05/1.457, allocations: 29.7 kB / 1.248 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/1.457, allocations: 172.2 kB / 1.248 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/1.458, allocations: 86.73 kB / 1.248 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.458, allocations: 73.92 kB / 1.248 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/1.458, allocations: 342.8 kB / 1.248 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009984/1.459, allocations: 204.4 kB / 1.249 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/1.46, allocations: 259 kB / 1.249 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002019/1.462, allocations: 438.7 kB / 1.249 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.462, allocations: 0 / 1.249 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006602/1.469, allocations: 0.8849 MB / 1.25 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.469, allocations: 5.875 kB / 1.25 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.469, allocations: 4 kB / 1.25 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/1.471, allocations: 285.3 kB / 1.25 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/1.471, allocations: 63.95 kB / 1.25 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.486, allocations: 4.082 MB / 1.254 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/1.487, allocations: 79.53 kB / 1.255 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.487, allocations: 19.97 kB / 1.255 GB, free: 3.172 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.0002934/1.487, allocations: 137.8 kB / 1.255 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.487, allocations: 31.62 kB / 1.255 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006999/1.494, allocations: 0.9651 MB / 1.256 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.494, allocations: 4 kB / 1.256 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.494, allocations: 3.938 kB / 1.256 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.494, allocations: 3.984 kB / 1.256 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/1.495, allocations: 432.6 kB / 1.256 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.495, allocations: 3.984 kB / 1.256 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/1.495, allocations: 51.89 kB / 1.256 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/1.497, allocations: 277.4 kB / 1.256 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.547e-05/1.497, allocations: 15.97 kB / 1.256 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/1.511, allocations: 4.08 MB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.511, allocations: 0 / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/1.518, allocations: 0.9609 MB / 1.261 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/1.518, allocations: 108.7 kB / 1.261 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/1.518, allocations: 4 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/1.519, allocations: 47.95 kB / 1.262 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/1.519, allocations: 23.91 kB / 1.262 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.519, allocations: 15.91 kB / 1.262 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002633/1.52, allocations: 227.1 kB / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.52, allocations: 0 / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006666/1.52, allocations: 111.9 kB / 1.262 GB, free: 11.3 MB / 0.9981 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.0002418/1.521, allocations: 120.4 kB / 1.262 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002865/1.523, allocations: 0.7237 MB / 1.263 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.523, allocations: 0 / 1.263 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/1.525, allocations: 0.5088 MB / 1.263 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/1.526, allocations: 117.1 kB / 1.263 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/1.529, allocations: 0.7089 MB / 1.264 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/1.529, allocations: 0.7645 MB / 1.265 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/1.529, allocations: 39.41 kB / 1.265 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.529, allocations: 0 / 1.265 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of Templates: time 0.01362/1.543, allocations: 8.332 MB / 1.273 GB, free: 15.88 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches