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.00723/0.00723, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001623/0.001623, allocations: 186.2 kB / 16.67 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.91 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2811, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007987/0.2891, allocations: 5.841 MB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7931/1.082, allocations: 151.3 MB / 1.361 GB, free: 8.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/1.083, allocations: 17.34 kB / 1.361 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/1.084, allocations: 223.8 kB / 1.361 GB, free: 8.078 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/1.086, allocations: 0.6508 MB / 1.362 GB, free: 7.707 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/1.088, allocations: 0.9795 MB / 1.363 GB, free: 7.195 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002223/1.09, allocations: 1.906 MB / 1.364 GB, free: 6.238 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/1.092, allocations: 0.765 MB / 1.365 GB, free: 5.836 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/1.093, allocations: 0.6785 MB / 1.366 GB, free: 5.508 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/1.094, allocations: 0.7429 MB / 1.367 GB, free: 5.129 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002816/1.094, allocations: 162.8 kB / 1.367 GB, free: 5.129 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/1.096, allocations: 0.6378 MB / 1.367 GB, free: 4.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/1.096, allocations: 440.7 kB / 1.368 GB, free: 4.719 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008516/1.097, allocations: 0.7776 MB / 1.369 GB, free: 4.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/1.1, allocations: 2.207 MB / 1.371 GB, free: 3.297 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.1, allocations: 1.062 kB / 1.371 GB, free: 3.297 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/1.1, allocations: 0 / 1.371 GB, free: 3.297 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.579e-05/1.1, allocations: 0 / 1.371 GB, free: 3.297 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.004462/1.104, allocations: 1.824 MB / 1.372 GB, free: 2.062 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.104, allocations: 10.31 kB / 1.372 GB, free: 2.062 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002659/1.105, allocations: 188.7 kB / 1.373 GB, free: 1.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009401/1.114, allocations: 1.276 MB / 1.374 GB, free: 1.301 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/1.116, allocations: 0.9751 MB / 1.375 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/1.116, allocations: 92.98 kB / 1.375 GB, free: 496 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/1.117, allocations: 118.8 kB / 1.375 GB, free: 456 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/1.122, allocations: 2.035 MB / 1.377 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/1.122, allocations: 3.938 kB / 1.377 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/1.122, allocations: 52.5 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/1.122, allocations: 34.67 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007891/1.13, allocations: 2.76 MB / 1.38 GB, free: 13.8 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.0101/1.14, allocations: 4.702 MB / 1.384 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007941/1.148, allocations: 2.738 MB / 1.387 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/1.151, allocations: 1.046 MB / 1.388 GB, free: 8.316 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/1.152, allocations: 0.609 MB / 1.389 GB, free: 7.621 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003649/1.156, allocations: 1.353 MB / 1.39 GB, free: 6.816 MB / 1.076 GB Notification: Performance of pre-optimization done (n=132): time 3.707e-06/1.156, allocations: 0 / 1.39 GB, free: 6.816 MB / 1.076 GB Notification: Performance of matching and sorting (n=132): time 0.01103/1.167, allocations: 3.374 MB / 1.393 GB, free: 5.074 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.167, allocations: 202.3 kB / 1.394 GB, free: 4.844 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.168, allocations: 0.7692 MB / 1.394 GB, free: 4.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/1.168, allocations: 61.28 kB / 1.394 GB, free: 4.352 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/1.169, allocations: 481.2 kB / 1.395 GB, free: 3.934 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005278/1.169, allocations: 430.1 kB / 1.395 GB, free: 3.559 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/1.17, allocations: 254.3 kB / 1.395 GB, free: 3.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.17, allocations: 350.6 kB / 1.396 GB, free: 3.078 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/1.173, allocations: 0.949 MB / 1.397 GB, free: 2.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003081/1.176, allocations: 1.089 MB / 1.398 GB, free: 1.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006038/1.182, allocations: 1.898 MB / 1.4 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.182, allocations: 0 / 1.4 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007717/1.189, allocations: 2.278 MB / 1.402 GB, free: 15.24 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.19, allocations: 8 kB / 1.402 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.19, allocations: 3.938 kB / 1.402 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/1.19, allocations: 80.84 kB / 1.402 GB, free: 15.14 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.193, allocations: 430.8 kB / 1.402 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/1.195, allocations: 1.639 MB / 1.404 GB, free: 12.94 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/1.198, allocations: 283.5 kB / 1.404 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.198, allocations: 63.94 kB / 1.404 GB, free: 12.6 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.0009518/1.199, allocations: 329.3 kB / 1.405 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/1.2, allocations: 114.6 kB / 1.405 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008367/1.208, allocations: 2.723 MB / 1.407 GB, free: 9.422 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.208, allocations: 16 kB / 1.407 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.208, allocations: 0 / 1.407 GB, free: 9.406 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/1.208, allocations: 7.969 kB / 1.407 GB, free: 9.398 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/1.219, allocations: 4.319 MB / 1.412 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/1.219, allocations: 0 / 1.412 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.221, allocations: 407.4 kB / 1.412 GB, free: 4.617 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/1.222, allocations: 68.8 kB / 1.412 GB, free: 4.547 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/1.222, allocations: 55.92 kB / 1.412 GB, free: 4.492 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.224, allocations: 1.677 MB / 1.414 GB, free: 2.668 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.224, allocations: 0 / 1.414 GB, free: 2.668 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007825/1.232, allocations: 2.493 MB / 1.416 GB, free: 156 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.233, allocations: 427.4 kB / 1.417 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/1.234, allocations: 28 kB / 1.417 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/1.236, allocations: 236.8 kB / 1.417 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/1.237, allocations: 101.2 kB / 1.417 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/1.237, allocations: 59.94 kB / 1.417 GB, free: 15.3 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009726/1.238, allocations: 0.5629 MB / 1.418 GB, free: 14.74 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.8e-07/1.238, allocations: 0 / 1.418 GB, free: 14.74 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001717/1.24, allocations: 495 kB / 1.418 GB, free: 14.25 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.009761/1.249, allocations: 3.574 MB / 1.421 GB, free: 10.84 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00739/1.257, allocations: 2.328 MB / 1.424 GB, free: 8.492 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.257, allocations: 0 / 1.424 GB, free: 8.492 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00394/1.261, allocations: 1.31 MB / 1.425 GB, free: 7.172 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.263, allocations: 341.1 kB / 1.425 GB, free: 6.863 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03205/1.295, allocations: 12 MB / 1.437 GB, free: 10.7 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/1.296, allocations: 1.156 MB / 1.438 GB, free: 9.516 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002245/1.298, allocations: 489.1 kB / 1.439 GB, free: 9.035 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.3, allocations: 0.5421 MB / 1.439 GB, free: 8.496 MB / 1.123 GB Notification: Performance of SimCode: time 1.402e-06/1.3, allocations: 4 kB / 1.439 GB, free: 8.492 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06877/1.369, allocations: 32.35 MB / 1.471 GB, free: 8.461 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/15.62, allocations: 11.69 kB / 1.471 GB, free: 8.449 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