Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.0008624/0.0008625, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.00477/0.00477, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.208/1.208, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.9 MB / 0.6664 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5382, allocations: 142.4 MB / 0.9552 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002333/0.5406, allocations: 2.635 MB / 0.9577 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.5415, allocations: 0.7716 MB / 0.9585 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.5417, allocations: 8.594 kB / 0.9585 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.5418, allocations: 39.14 kB / 0.9585 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.542, allocations: 121.8 kB / 0.9587 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.5423, allocations: 143.5 kB / 0.9588 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.5427, allocations: 497.1 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.5429, allocations: 180 kB / 0.9594 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.5431, allocations: 171.2 kB / 0.9596 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.5433, allocations: 184.4 kB / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.5434, allocations: 15.19 kB / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.927e-05/0.5434, allocations: 15.91 kB / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.5435, allocations: 69.16 kB / 0.9599 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.5436, allocations: 218.4 kB / 0.9601 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.5439, allocations: 416 kB / 0.9605 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.5439, allocations: 0 / 0.9605 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5439, allocations: 4 kB / 0.9605 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.5439, allocations: 1.375 kB / 0.9605 GB, free: 3.504 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008612/0.5448, allocations: 0.6657 MB / 0.9611 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.5448, allocations: 9.625 kB / 0.9611 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.634e-05/0.5449, allocations: 69.44 kB / 0.9612 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.545, allocations: 53.61 kB / 0.9613 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.5452, allocations: 326.7 kB / 0.9616 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.5453, allocations: 32.28 kB / 0.9616 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.5453, allocations: 33.84 kB / 0.9616 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.5459, allocations: 381.3 kB / 0.962 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5459, allocations: 1 kB / 0.962 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.5459, allocations: 19 kB / 0.962 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.546, allocations: 8.406 kB / 0.962 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.5465, allocations: 283.4 kB / 0.9623 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.5479, allocations: 1.46 MB / 0.9637 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.5484, allocations: 291.9 kB / 0.964 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.5487, allocations: 181.9 kB / 0.9642 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.5488, allocations: 3.953 kB / 0.9642 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.5488, allocations: 40.11 kB / 0.9642 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.5488, allocations: 0 / 0.9642 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27): time 0.002705/0.5515, allocations: 0.9087 MB / 0.9651 GB, free: 48 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.5515, allocations: 54.03 kB / 0.9652 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.5519, allocations: 361.1 kB / 0.9655 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.5519, allocations: 30.73 kB / 0.9655 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.5521, allocations: 212.8 kB / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.5521, allocations: 98.73 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.5522, allocations: 29.17 kB / 0.9659 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5523, allocations: 346.6 kB / 0.9662 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.5525, allocations: 100.7 kB / 0.9663 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.5528, allocations: 165.7 kB / 0.9664 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.5533, allocations: 267.1 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5533, allocations: 4.688 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001122/0.5544, allocations: 0.4926 MB / 0.9672 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.5545, allocations: 128.8 kB / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5545, allocations: 1 kB / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007156/0.5552, allocations: 188 kB / 0.9675 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.5554, allocations: 41.75 kB / 0.9675 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.5585, allocations: 2.47 MB / 0.9699 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.5588, allocations: 49.27 kB / 0.97 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.5589, allocations: 11.03 kB / 0.97 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.5589, allocations: 4.469 kB / 0.97 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.5599, allocations: 442.9 kB / 0.9704 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5599, allocations: 2.031 kB / 0.9704 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.5605, allocations: 184.5 kB / 0.9706 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.5607, allocations: 41.78 kB / 0.9706 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.5633, allocations: 2.396 MB / 0.973 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.5637, allocations: 43.94 kB / 0.973 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.5637, allocations: 11.22 kB / 0.973 GB, free: 9.875 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.5639, allocations: 225.6 kB / 0.9732 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-05/0.5639, allocations: 42.78 kB / 0.9733 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.547e-05/0.564, allocations: 54.02 kB / 0.9733 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5641, allocations: 11.03 kB / 0.9734 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.5641, allocations: 0 / 0.9734 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5641, allocations: 0 / 0.9734 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.5645, allocations: 413 kB / 0.9737 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5645, allocations: 0 / 0.9737 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.5646, allocations: 28.31 kB / 0.9738 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005952/0.5652, allocations: 182 kB / 0.9739 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5653, allocations: 4.969 kB / 0.974 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002677/0.568, allocations: 2.385 MB / 0.9763 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.568, allocations: 0 / 0.9763 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.569, allocations: 0.5459 MB / 0.9768 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.5691, allocations: 138.6 kB / 0.9769 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.5692, allocations: 5.281 kB / 0.977 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.5694, allocations: 23.55 kB / 0.977 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.5695, allocations: 30.05 kB / 0.977 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.5695, allocations: 5.156 kB / 0.977 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002421/0.5698, allocations: 258.4 kB / 0.9773 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5698, allocations: 0 / 0.9773 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000701/0.5705, allocations: 257.3 kB / 0.9775 GB, free: 6.422 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/0.5718, allocations: 1.09 MB / 0.9786 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.5732, allocations: 0.7848 MB / 0.9793 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5732, allocations: 4 kB / 0.9793 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.5737, allocations: 329 kB / 0.9796 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.5743, allocations: 95.52 kB / 0.9797 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.5796, allocations: 3.879 MB / 0.9835 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.5799, allocations: 0.815 MB / 0.9843 GB, free: 380 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.5801, allocations: 31.28 kB / 0.9844 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5802, allocations: 127.3 kB / 0.9845 GB, free: 224 kB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.5802, allocations: 0 / 0.9845 GB, free: 224 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.156/4.736, allocations: 11.34 MB / 0.9955 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/4.737, allocations: 242.3 kB / 0.9958 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/6.978, allocations: 0 / 0.9958 GB, free: 4.891 MB / 0.7481 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches