Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_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.008878/0.008878, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.002228/0.002228, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.313/2.313, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.91 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8996/0.9018, allocations: 140.4 MB / 1.087 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.009682/0.9115, allocations: 5.249 MB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2087/1.12, allocations: 151.4 MB / 1.24 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/1.122, allocations: 25.59 kB / 1.24 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007125/1.122, allocations: 203.8 kB / 1.241 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002518/1.125, allocations: 0.6205 MB / 1.241 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/1.128, allocations: 0.9903 MB / 1.242 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002464/1.13, allocations: 1.901 MB / 1.244 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/1.132, allocations: 0.899 MB / 1.245 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/1.133, allocations: 0.7202 MB / 1.246 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/1.134, allocations: 0.7703 MB / 1.246 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003001/1.135, allocations: 192 kB / 1.247 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/1.136, allocations: 0.6752 MB / 1.247 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005045/1.137, allocations: 474.6 kB / 1.248 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008707/1.138, allocations: 0.8201 MB / 1.249 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003175/1.141, allocations: 2.414 MB / 1.251 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.141, allocations: 0 / 1.251 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.168e-06/1.141, allocations: 7.984 kB / 1.251 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.922e-05/1.141, allocations: 0 / 1.251 GB, free: 6.336 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003849/1.145, allocations: 1.886 MB / 1.253 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.145, allocations: 8.031 kB / 1.253 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/1.145, allocations: 202.7 kB / 1.253 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008813/1.154, allocations: 1.282 MB / 1.254 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/1.156, allocations: 1.066 MB / 1.255 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/1.156, allocations: 94.67 kB / 1.255 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/1.157, allocations: 132 kB / 1.255 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/1.162, allocations: 2.209 MB / 1.258 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/1.162, allocations: 3.938 kB / 1.258 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/1.162, allocations: 56 kB / 1.258 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/1.162, allocations: 36 kB / 1.258 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007498/1.169, allocations: 2.964 MB / 1.261 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009409/1.179, allocations: 5.04 MB / 1.266 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007946/1.187, allocations: 2.872 MB / 1.268 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/1.19, allocations: 1.132 MB / 1.269 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005857/1.19, allocations: 0.6066 MB / 1.27 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003587/1.194, allocations: 1.461 MB / 1.271 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 4.208e-06/1.194, allocations: 0 / 1.271 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01091/1.205, allocations: 3.613 MB / 1.275 GB, free: 13.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.205, allocations: 193.2 kB / 1.275 GB, free: 13 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.207, allocations: 0.8139 MB / 1.276 GB, free: 12.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/1.207, allocations: 49.7 kB / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/1.207, allocations: 0.5162 MB / 1.277 GB, free: 11.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/1.208, allocations: 437.7 kB / 1.277 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005729/1.208, allocations: 254.7 kB / 1.277 GB, free: 10.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.208, allocations: 349.9 kB / 1.278 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002977/1.211, allocations: 1.033 MB / 1.279 GB, free: 9.527 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003099/1.215, allocations: 1.186 MB / 1.28 GB, free: 8.309 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/1.22, allocations: 2.04 MB / 1.282 GB, free: 6.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.22, allocations: 0 / 1.282 GB, free: 6.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007179/1.227, allocations: 2.425 MB / 1.284 GB, free: 3.812 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.227, allocations: 4 kB / 1.284 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.227, allocations: 4 kB / 1.284 GB, free: 3.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006107/1.228, allocations: 88.81 kB / 1.284 GB, free: 3.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/1.23, allocations: 423.3 kB / 1.285 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/1.233, allocations: 1.638 MB / 1.286 GB, free: 1.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/1.235, allocations: 278.8 kB / 1.286 GB, free: 1.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.235, allocations: 59.94 kB / 1.286 GB, free: 1.184 MB / 1.014 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.0007897/1.236, allocations: 364.5 kB / 1.287 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/1.236, allocations: 118.5 kB / 1.287 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/1.244, allocations: 2.872 MB / 1.29 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.244, allocations: 15.94 kB / 1.29 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.244, allocations: 11.98 kB / 1.29 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/1.244, allocations: 3.984 kB / 1.29 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/1.247, allocations: 1.819 MB / 1.292 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/1.247, allocations: 0 / 1.292 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.249, allocations: 407.4 kB / 1.292 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/1.249, allocations: 76.78 kB / 1.292 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.25, allocations: 51.94 kB / 1.292 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/1.251, allocations: 1.681 MB / 1.294 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.252, allocations: 3.984 kB / 1.294 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007156/1.259, allocations: 2.572 MB / 1.296 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/1.259, allocations: 471.1 kB / 1.297 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/1.26, allocations: 31.94 kB / 1.297 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.262, allocations: 223.7 kB / 1.297 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.262, allocations: 109.1 kB / 1.297 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.262, allocations: 63.92 kB / 1.297 GB, free: 6.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008489/1.263, allocations: 0.5849 MB / 1.298 GB, free: 5.473 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.21e-07/1.263, allocations: 0 / 1.298 GB, free: 5.473 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001353/1.264, allocations: 498.8 kB / 1.298 GB, free: 4.984 MB / 1.029 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.008969/1.273, allocations: 3.667 MB / 1.302 GB, free: 1.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006978/1.28, allocations: 2.496 MB / 1.304 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.28, allocations: 0 / 1.304 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003706/1.284, allocations: 1.396 MB / 1.305 GB, free: 13.55 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/1.286, allocations: 337.6 kB / 1.306 GB, free: 13.24 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/1.318, allocations: 12.86 MB / 1.318 GB, free: 244 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/1.32, allocations: 1.196 MB / 1.32 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002326/1.322, allocations: 493.3 kB / 1.32 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/1.324, allocations: 0.5812 MB / 1.321 GB, free: 13.94 MB / 1.061 GB Notification: Performance of SimCode: time 1.563e-06/1.324, allocations: 0 / 1.321 GB, free: 13.94 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07792/1.402, allocations: 32.66 MB / 1.352 GB, free: 13.55 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.47, allocations: 4 kB / 1.352 GB, free: 13.54 MB / 1.092 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches