Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_latest_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.007966/0.007966, allocations: 99.62 kB / 15.73 MB, free: 6.012 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.001735/0.001735, allocations: 187.7 kB / 16.67 MB, free: 5.949 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.84 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.305, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.01148/0.3165, allocations: 5.846 MB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.851/1.168, allocations: 151.3 MB / 1.361 GB, free: 8.156 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/1.169, allocations: 21.5 kB / 1.361 GB, free: 8.148 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/1.17, allocations: 218.7 kB / 1.361 GB, free: 8.008 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/1.173, allocations: 0.6533 MB / 1.362 GB, free: 7.633 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/1.177, allocations: 0.9777 MB / 1.363 GB, free: 7.121 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003255/1.18, allocations: 1.9 MB / 1.364 GB, free: 6.172 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/1.182, allocations: 0.7733 MB / 1.365 GB, free: 5.762 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/1.183, allocations: 0.6827 MB / 1.366 GB, free: 5.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/1.185, allocations: 0.7359 MB / 1.367 GB, free: 5.059 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000635/1.186, allocations: 162.8 kB / 1.367 GB, free: 5.059 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/1.188, allocations: 0.6425 MB / 1.367 GB, free: 4.902 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007791/1.188, allocations: 443 kB / 1.368 GB, free: 4.641 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/1.19, allocations: 0.7692 MB / 1.369 GB, free: 4.141 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/1.194, allocations: 2.209 MB / 1.371 GB, free: 3.227 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/1.194, allocations: 0 / 1.371 GB, free: 3.227 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/1.194, allocations: 1.281 kB / 1.371 GB, free: 3.227 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.322e-05/1.194, allocations: 0 / 1.371 GB, free: 3.227 MB / 1.061 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.005872/1.2, allocations: 1.827 MB / 1.372 GB, free: 1.977 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.2, allocations: 11.28 kB / 1.372 GB, free: 1.977 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005422/1.201, allocations: 183.7 kB / 1.373 GB, free: 1.828 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/1.211, allocations: 1.277 MB / 1.374 GB, free: 1.219 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/1.214, allocations: 0.9794 MB / 1.375 GB, free: 452 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/1.214, allocations: 92.41 kB / 1.375 GB, free: 408 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005521/1.215, allocations: 119.5 kB / 1.375 GB, free: 368 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007417/1.222, allocations: 2.035 MB / 1.377 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/1.222, allocations: 0 / 1.377 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/1.222, allocations: 53.66 kB / 1.377 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/1.223, allocations: 29.53 kB / 1.377 GB, free: 15.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009476/1.232, allocations: 2.765 MB / 1.38 GB, free: 13.72 MB / 1.076 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.01213/1.244, allocations: 4.702 MB / 1.384 GB, free: 10.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009748/1.254, allocations: 2.739 MB / 1.387 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003641/1.258, allocations: 1.035 MB / 1.388 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/1.258, allocations: 0.6101 MB / 1.389 GB, free: 7.547 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004209/1.263, allocations: 1.354 MB / 1.39 GB, free: 6.742 MB / 1.076 GB Notification: Performance of pre-optimization done (n=132): time 8.436e-06/1.263, allocations: 7.984 kB / 1.39 GB, free: 6.734 MB / 1.076 GB Notification: Performance of matching and sorting (n=132): time 0.01238/1.275, allocations: 3.378 MB / 1.393 GB, free: 4.988 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/1.275, allocations: 202.8 kB / 1.394 GB, free: 4.758 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/1.276, allocations: 0.7724 MB / 1.394 GB, free: 4.32 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003343/1.277, allocations: 54.14 kB / 1.394 GB, free: 4.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/1.277, allocations: 484.9 kB / 1.395 GB, free: 3.848 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/1.278, allocations: 432.2 kB / 1.395 GB, free: 3.473 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005602/1.278, allocations: 250 kB / 1.395 GB, free: 3.332 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.279, allocations: 352.3 kB / 1.396 GB, free: 2.992 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003431/1.282, allocations: 0.9449 MB / 1.397 GB, free: 2.512 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.286, allocations: 1.091 MB / 1.398 GB, free: 1.898 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/1.293, allocations: 1.908 MB / 1.4 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.293, allocations: 0 / 1.4 GB, free: 0.9062 MB / 1.076 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.008602/1.302, allocations: 2.277 MB / 1.402 GB, free: 15.15 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.302, allocations: 8 kB / 1.402 GB, free: 15.14 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.302, allocations: 0 / 1.402 GB, free: 15.14 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/1.302, allocations: 84.84 kB / 1.402 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/1.305, allocations: 415.3 kB / 1.402 GB, free: 14.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/1.307, allocations: 1.65 MB / 1.404 GB, free: 12.86 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/1.31, allocations: 278.7 kB / 1.404 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000316/1.311, allocations: 63.94 kB / 1.404 GB, free: 12.52 MB / 1.092 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.0009073/1.312, allocations: 327.5 kB / 1.405 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/1.312, allocations: 110.6 kB / 1.405 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009985/1.322, allocations: 2.725 MB / 1.407 GB, free: 9.344 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/1.322, allocations: 15.94 kB / 1.407 GB, free: 9.328 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.322, allocations: 0 / 1.407 GB, free: 9.328 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.322, allocations: 11.97 kB / 1.407 GB, free: 9.316 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/1.335, allocations: 4.303 MB / 1.412 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.335, allocations: 0 / 1.412 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.338, allocations: 415.3 kB / 1.412 GB, free: 4.543 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/1.339, allocations: 72.78 kB / 1.412 GB, free: 4.469 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003953/1.339, allocations: 51.94 kB / 1.412 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/1.341, allocations: 1.678 MB / 1.414 GB, free: 2.594 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.341, allocations: 4.031 kB / 1.414 GB, free: 2.59 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009097/1.35, allocations: 2.489 MB / 1.416 GB, free: 80 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.352, allocations: 435.1 kB / 1.417 GB, free: 15.63 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004139/1.352, allocations: 28 kB / 1.417 GB, free: 15.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002394/1.355, allocations: 228.5 kB / 1.417 GB, free: 15.38 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/1.355, allocations: 101.3 kB / 1.417 GB, free: 15.29 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/1.355, allocations: 69.33 kB / 1.417 GB, free: 15.22 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001004/1.356, allocations: 0.5575 MB / 1.418 GB, free: 14.66 MB / 1.107 GB Notification: Performance of sort global known variables: time 5.61e-07/1.356, allocations: 0 / 1.418 GB, free: 14.66 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001929/1.358, allocations: 495 kB / 1.418 GB, free: 14.18 MB / 1.107 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.01091/1.369, allocations: 3.582 MB / 1.422 GB, free: 10.75 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008482/1.378, allocations: 2.324 MB / 1.424 GB, free: 8.414 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.378, allocations: 0 / 1.424 GB, free: 8.414 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004344/1.382, allocations: 1.314 MB / 1.425 GB, free: 7.09 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.384, allocations: 333.9 kB / 1.425 GB, free: 6.789 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/1.416, allocations: 12 MB / 1.437 GB, free: 10.63 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007931/1.417, allocations: 1.16 MB / 1.438 GB, free: 9.438 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001938/1.419, allocations: 485.1 kB / 1.439 GB, free: 8.961 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.42, allocations: 0.5461 MB / 1.439 GB, free: 8.418 MB / 1.123 GB Notification: Performance of SimCode: time 1.042e-06/1.42, allocations: 0 / 1.439 GB, free: 8.418 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/1.493, allocations: 32.35 MB / 1.471 GB, free: 8.383 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.4, allocations: 11.62 kB / 1.471 GB, free: 8.375 MB / 1.154 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches