Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 108.6 kB / 15.73 MB, free: 76 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.001643/0.001643, allocations: 187.3 kB / 16.66 MB, free: 6.59 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.57/2.57, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2963, allocations: 151.6 MB / 1.167 GB, free: 6.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.00778/0.3041, allocations: 5.846 MB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.848/1.152, allocations: 151.3 MB / 1.32 GB, free: 9.348 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/1.154, allocations: 20.81 kB / 1.32 GB, free: 9.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008028/1.154, allocations: 220.2 kB / 1.32 GB, free: 9.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002614/1.157, allocations: 0.6558 MB / 1.321 GB, free: 8.922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002766/1.16, allocations: 0.9726 MB / 1.322 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002803/1.163, allocations: 1.903 MB / 1.324 GB, free: 8.395 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/1.164, allocations: 0.7782 MB / 1.325 GB, free: 8.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/1.165, allocations: 0.6657 MB / 1.325 GB, free: 7.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/1.166, allocations: 0.7475 MB / 1.326 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/1.166, allocations: 163 kB / 1.326 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/1.168, allocations: 0.6303 MB / 1.327 GB, free: 7.402 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005343/1.169, allocations: 438.4 kB / 1.327 GB, free: 7.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009508/1.17, allocations: 0.7769 MB / 1.328 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003474/1.173, allocations: 2.213 MB / 1.33 GB, free: 5.719 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.173, allocations: 5.5 kB / 1.33 GB, free: 5.715 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.172e-06/1.173, allocations: 0 / 1.33 GB, free: 5.715 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.953e-05/1.173, allocations: 0.75 kB / 1.33 GB, free: 5.715 MB / 1.014 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.004118/1.178, allocations: 1.861 MB / 1.332 GB, free: 4.484 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.178, allocations: 10.98 kB / 1.332 GB, free: 4.484 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00908/1.187, allocations: 1.28 MB / 1.333 GB, free: 4.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/1.189, allocations: 0.9805 MB / 1.334 GB, free: 3.742 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.704e-05/1.189, allocations: 92.7 kB / 1.334 GB, free: 3.699 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/1.189, allocations: 116.8 kB / 1.334 GB, free: 3.664 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005698/1.195, allocations: 2.044 MB / 1.336 GB, free: 2.953 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/1.195, allocations: 3.938 kB / 1.336 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/1.195, allocations: 52.5 kB / 1.336 GB, free: 2.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/1.195, allocations: 33.12 kB / 1.336 GB, free: 2.906 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008016/1.203, allocations: 2.757 MB / 1.339 GB, free: 2.277 MB / 1.014 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.00989/1.213, allocations: 4.718 MB / 1.344 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008618/1.222, allocations: 2.737 MB / 1.346 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/1.225, allocations: 1.038 MB / 1.347 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006135/1.226, allocations: 0.6079 MB / 1.348 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00421/1.23, allocations: 1.356 MB / 1.349 GB, free: 12.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=132): time 1.633e-05/1.23, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=132): time 0.01198/1.242, allocations: 3.387 MB / 1.353 GB, free: 10.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.242, allocations: 206.5 kB / 1.353 GB, free: 10.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/1.244, allocations: 0.7722 MB / 1.353 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/1.244, allocations: 49.08 kB / 1.354 GB, free: 10.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/1.245, allocations: 491.8 kB / 1.354 GB, free: 9.727 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/1.245, allocations: 455.2 kB / 1.354 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006306/1.246, allocations: 272.8 kB / 1.355 GB, free: 9.172 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.246, allocations: 354.3 kB / 1.355 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/1.249, allocations: 0.9682 MB / 1.356 GB, free: 8.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/1.252, allocations: 1.095 MB / 1.357 GB, free: 7.746 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006136/1.259, allocations: 1.921 MB / 1.359 GB, free: 6.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.259, allocations: 0 / 1.359 GB, free: 6.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007465/1.266, allocations: 2.328 MB / 1.361 GB, free: 5.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/1.266, allocations: 11.31 kB / 1.361 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.266, allocations: 2.406 kB / 1.361 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/1.267, allocations: 86.73 kB / 1.361 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/1.269, allocations: 431.3 kB / 1.362 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/1.271, allocations: 1.648 MB / 1.363 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.274, allocations: 285.3 kB / 1.364 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/1.274, allocations: 73.27 kB / 1.364 GB, free: 3.555 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (150): * Single equations (assignments): 149 * 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.0008791/1.275, allocations: 336.2 kB / 1.364 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/1.275, allocations: 115.8 kB / 1.364 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008553/1.284, allocations: 2.728 MB / 1.367 GB, free: 1.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.284, allocations: 12.12 kB / 1.367 GB, free: 1.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.284, allocations: 6.844 kB / 1.367 GB, free: 1.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/1.284, allocations: 7.969 kB / 1.367 GB, free: 1.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.294, allocations: 4.309 MB / 1.371 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.294, allocations: 0 / 1.371 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002255/1.296, allocations: 411.5 kB / 1.371 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/1.297, allocations: 74.69 kB / 1.371 GB, free: 14.92 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/1.297, allocations: 50.44 kB / 1.372 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/1.299, allocations: 1.68 MB / 1.373 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.299, allocations: 0 / 1.373 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007987/1.307, allocations: 2.498 MB / 1.376 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008467/1.308, allocations: 425.9 kB / 1.376 GB, free: 11.58 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/1.308, allocations: 31.64 kB / 1.376 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.31, allocations: 232.3 kB / 1.376 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/1.31, allocations: 100.7 kB / 1.376 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/1.311, allocations: 66.03 kB / 1.376 GB, free: 11.36 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007753/1.311, allocations: 0.5548 MB / 1.377 GB, free: 11.05 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.81e-07/1.311, allocations: 0 / 1.377 GB, free: 11.05 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001435/1.313, allocations: 0.492 MB / 1.377 GB, free: 10.93 MB / 1.045 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.001705/1.315, allocations: 0.65 MB / 1.378 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007247/1.322, allocations: 2.35 MB / 1.38 GB, free: 8.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.322, allocations: 0 / 1.38 GB, free: 8.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003786/1.326, allocations: 1.314 MB / 1.382 GB, free: 7.586 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.328, allocations: 345.8 kB / 1.382 GB, free: 7.273 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/1.334, allocations: 2.847 MB / 1.385 GB, free: 4.395 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/1.335, allocations: 1.159 MB / 1.386 GB, free: 3.207 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001665/1.337, allocations: 481.2 kB / 1.386 GB, free: 2.734 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006892/1.337, allocations: 167.3 kB / 1.387 GB, free: 2.57 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/1.337, allocations: 0 / 1.387 GB, free: 2.57 MB / 1.045 GB Notification: Performance of Templates: time 0.03773/1.375, allocations: 23.39 MB / 1.409 GB, free: 11.35 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches