Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_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.006679/0.006679, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001938/0.001938, allocations: 186.9 kB / 16.67 MB, free: 5.887 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.274/2.274, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7411, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006602/0.7478, allocations: 5.085 MB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.9239, allocations: 151.2 MB / 1.24 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.9255, allocations: 17.28 kB / 1.24 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008879/0.9264, allocations: 197.7 kB / 1.24 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.929, allocations: 0.5989 MB / 1.241 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.9317, allocations: 0.9714 MB / 1.242 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002544/0.9343, allocations: 1.782 MB / 1.244 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.9356, allocations: 0.8165 MB / 1.244 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.9368, allocations: 0.664 MB / 1.245 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.9378, allocations: 0.7119 MB / 1.246 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.9382, allocations: 164 kB / 1.246 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.9396, allocations: 0.6439 MB / 1.247 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004828/0.9401, allocations: 442.7 kB / 1.247 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009782/0.9411, allocations: 0.7501 MB / 1.248 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.9438, allocations: 2.165 MB / 1.25 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9438, allocations: 4 kB / 1.25 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9438, allocations: 0 / 1.25 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.368e-05/0.9439, allocations: 0 / 1.25 GB, free: 7.465 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003688/0.9476, allocations: 1.801 MB / 1.252 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.9476, allocations: 12.03 kB / 1.252 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/0.9479, allocations: 182 kB / 1.252 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008444/0.9563, allocations: 1.278 MB / 1.253 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.958, allocations: 0.9807 MB / 1.254 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.9581, allocations: 94.45 kB / 1.254 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.9584, allocations: 116 kB / 1.254 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.9631, allocations: 2.038 MB / 1.256 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.9631, allocations: 3.938 kB / 1.256 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.9633, allocations: 55.98 kB / 1.256 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.9633, allocations: 28 kB / 1.256 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00704/0.9704, allocations: 2.76 MB / 1.259 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007995/0.9784, allocations: 4.438 MB / 1.263 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/0.9856, allocations: 2.731 MB / 1.266 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.9884, allocations: 1.038 MB / 1.267 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005257/0.989, allocations: 0.6062 MB / 1.268 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003274/0.9923, allocations: 1.356 MB / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 6.092e-06/0.9923, allocations: 0 / 1.269 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01032/1.003, allocations: 3.391 MB / 1.272 GB, free: 92 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.003, allocations: 197.2 kB / 1.272 GB, free: 15.85 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/1.004, allocations: 0.7668 MB / 1.273 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001615/1.004, allocations: 49.7 kB / 1.273 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/1.004, allocations: 496.7 kB / 1.274 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/1.005, allocations: 425.8 kB / 1.274 GB, free: 14.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005108/1.005, allocations: 254.7 kB / 1.274 GB, free: 13.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.006, allocations: 349.9 kB / 1.275 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/1.008, allocations: 0.9469 MB / 1.276 GB, free: 12.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/1.011, allocations: 1.093 MB / 1.277 GB, free: 11.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005456/1.017, allocations: 1.903 MB / 1.278 GB, free: 9.508 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.017, allocations: 0 / 1.278 GB, free: 9.508 MB / 1.014 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006912/1.024, allocations: 2.284 MB / 1.281 GB, free: 7.211 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/1.024, allocations: 4 kB / 1.281 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.024, allocations: 4 kB / 1.281 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/1.024, allocations: 84.83 kB / 1.281 GB, free: 7.117 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.027, allocations: 415.3 kB / 1.281 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/1.029, allocations: 1.644 MB / 1.283 GB, free: 4.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/1.031, allocations: 274.7 kB / 1.283 GB, free: 4.656 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/1.031, allocations: 59.94 kB / 1.283 GB, free: 4.598 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 (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,incAng.decAng.tNext,$PRE.incAng.decAng.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 (142): * Single equations (assignments): 141 * 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.0007877/1.032, allocations: 339.7 kB / 1.283 GB, free: 4.254 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/1.033, allocations: 114.6 kB / 1.284 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008486/1.041, allocations: 2.723 MB / 1.286 GB, free: 1.402 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.62e-05/1.041, allocations: 12 kB / 1.286 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.041, allocations: 4 kB / 1.286 GB, free: 1.387 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/1.041, allocations: 7.969 kB / 1.286 GB, free: 1.379 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/1.057, allocations: 4.311 MB / 1.29 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/1.057, allocations: 0 / 1.29 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/1.061, allocations: 411.4 kB / 1.291 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/1.062, allocations: 76.78 kB / 1.291 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/1.062, allocations: 51.94 kB / 1.291 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/1.065, allocations: 1.67 MB / 1.293 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.065, allocations: 3.984 kB / 1.293 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.076, allocations: 2.493 MB / 1.295 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.077, allocations: 423.1 kB / 1.295 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/1.078, allocations: 28 kB / 1.295 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003134/1.081, allocations: 234.1 kB / 1.296 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.081, allocations: 105.2 kB / 1.296 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/1.081, allocations: 75.91 kB / 1.296 GB, free: 7.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001366/1.083, allocations: 0.5537 MB / 1.296 GB, free: 6.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.71e-07/1.083, allocations: 0 / 1.296 GB, free: 6.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002012/1.085, allocations: 471.1 kB / 1.297 GB, free: 6.262 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.0111/1.096, allocations: 3.595 MB / 1.3 GB, free: 2.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006639/1.103, allocations: 2.317 MB / 1.303 GB, free: 496 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.103, allocations: 4.125 kB / 1.303 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/1.106, allocations: 1.31 MB / 1.304 GB, free: 15.16 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.108, allocations: 327 kB / 1.304 GB, free: 14.86 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.136, allocations: 12.1 MB / 1.316 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/1.137, allocations: 1.156 MB / 1.317 GB, free: 1.41 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001708/1.138, allocations: 477.1 kB / 1.318 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.139, allocations: 0.5382 MB / 1.318 GB, free: 412 kB / 1.045 GB Notification: Performance of SimCode: time 6.32e-07/1.139, allocations: 0 / 1.318 GB, free: 412 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08569/1.225, allocations: 31.09 MB / 1.349 GB, free: 1.609 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.99, allocations: 12.34 kB / 1.349 GB, free: 1.602 MB / 1.076 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches