Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins",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.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 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.001883/0.001883, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.601/2.601, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 59.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5679, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008091/0.5761, allocations: 6.252 MB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1518/0.7279, allocations: 151.5 MB / 1.171 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008861/0.7288, allocations: 23.88 kB / 1.172 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.7295, allocations: 233.7 kB / 1.172 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.7313, allocations: 0.7069 MB / 1.172 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.7334, allocations: 0.9905 MB / 1.173 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.7352, allocations: 2.041 MB / 1.175 GB, free: 80 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.7363, allocations: 0.8641 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000842/0.7372, allocations: 0.7281 MB / 1.177 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000845/0.738, allocations: 0.8054 MB / 1.178 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002369/0.7383, allocations: 192 kB / 1.178 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.7394, allocations: 0.6363 MB / 1.179 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.7398, allocations: 482.6 kB / 1.179 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007578/0.7406, allocations: 0.8631 MB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.7431, allocations: 2.419 MB / 1.182 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7431, allocations: 0 / 1.182 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.597e-06/0.7431, allocations: 0 / 1.182 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.7431, allocations: 3.938 kB / 1.182 GB, free: 9.043 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003431/0.7466, allocations: 1.908 MB / 1.184 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7466, allocations: 8.031 kB / 1.184 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.7469, allocations: 198.7 kB / 1.184 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009775/0.7566, allocations: 1.294 MB / 1.186 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.7585, allocations: 1.031 MB / 1.187 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.7586, allocations: 102.7 kB / 1.187 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.7588, allocations: 128 kB / 1.187 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005614/0.7645, allocations: 2.209 MB / 1.189 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.7645, allocations: 3.938 kB / 1.189 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.7647, allocations: 56 kB / 1.189 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.7647, allocations: 32 kB / 1.189 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008322/0.7731, allocations: 2.968 MB / 1.192 GB, free: 14.93 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009482/0.7826, allocations: 5.404 MB / 1.197 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008789/0.7914, allocations: 2.888 MB / 1.2 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00344/0.7948, allocations: 1.121 MB / 1.201 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/0.7954, allocations: 0.6026 MB / 1.202 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003896/0.7993, allocations: 1.458 MB / 1.203 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=133): time 2.996e-06/0.7993, allocations: 0 / 1.203 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133): time 0.01226/0.8116, allocations: 3.629 MB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.8117, allocations: 193.2 kB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.813, allocations: 0.81 MB / 1.208 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.8131, allocations: 65.62 kB / 1.208 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/0.8136, allocations: 0.5123 MB / 1.208 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.814, allocations: 433.7 kB / 1.209 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005184/0.8145, allocations: 250.7 kB / 1.209 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8147, allocations: 353.9 kB / 1.209 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003383/0.8181, allocations: 1.033 MB / 1.21 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/0.8217, allocations: 1.183 MB / 1.211 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006612/0.8283, allocations: 2.044 MB / 1.213 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8283, allocations: 0 / 1.213 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.008041/0.8364, allocations: 2.436 MB / 1.216 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.8364, allocations: 5.719 kB / 1.216 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.8364, allocations: 4 kB / 1.216 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/0.8371, allocations: 84.83 kB / 1.216 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.8396, allocations: 419.3 kB / 1.216 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.8417, allocations: 1.656 MB / 1.218 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.844, allocations: 278.7 kB / 1.218 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.8442, allocations: 67.92 kB / 1.218 GB, free: 3.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007618/0.845, allocations: 347.5 kB / 1.218 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.8453, allocations: 118.5 kB / 1.219 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008963/0.8543, allocations: 2.884 MB / 1.221 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.8543, allocations: 12 kB / 1.221 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8543, allocations: 4 kB / 1.221 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.8544, allocations: 11.95 kB / 1.221 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.8567, allocations: 1.827 MB / 1.223 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8567, allocations: 0 / 1.223 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/0.8592, allocations: 419.3 kB / 1.224 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/0.8597, allocations: 72.78 kB / 1.224 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.8599, allocations: 51.94 kB / 1.224 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.8624, allocations: 1.674 MB / 1.225 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8624, allocations: 0 / 1.225 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008601/0.871, allocations: 2.576 MB / 1.228 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/0.8719, allocations: 467.1 kB / 1.228 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003381/0.8722, allocations: 31.94 kB / 1.228 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.8745, allocations: 227.7 kB / 1.229 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.8747, allocations: 105.2 kB / 1.229 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.8749, allocations: 63.94 kB / 1.229 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009137/0.8758, allocations: 0.581 MB / 1.229 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8758, allocations: 4 kB / 1.229 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001456/0.8773, allocations: 0.5105 MB / 1.23 GB, free: 7.195 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01005/0.8873, allocations: 3.669 MB / 1.233 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.009823/0.8972, allocations: 3.07 MB / 1.236 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8972, allocations: 3.938 kB / 1.236 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004103/0.9013, allocations: 1.4 MB / 1.238 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.9031, allocations: 358.5 kB / 1.238 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/0.9353, allocations: 13.18 MB / 1.251 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.9364, allocations: 1.195 MB / 1.252 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.4278/1.364, allocations: 489.5 kB / 1.253 GB, free: 231 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.365, allocations: 0.5763 MB / 1.253 GB, free: 231 MB / 0.9981 GB Notification: Performance of SimCode: time 1.173e-06/1.365, allocations: 0.8438 kB / 1.253 GB, free: 231 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06958/1.435, allocations: 32.87 MB / 1.285 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/13.08, allocations: 13.47 kB / 1.285 GB, free: 217.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches