Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.007992/0.007993, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.002349/0.002349, allocations: 197.7 kB / 16.68 MB, free: 5.961 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.273/2.273, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9627/0.9642, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008346/0.9726, allocations: 5.778 MB / 1.093 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2198/1.192, allocations: 155.4 MB / 1.245 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001804/1.194, allocations: 28.88 kB / 1.245 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005726/1.2, allocations: 1.778 MB / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/1.204, allocations: 0.7836 MB / 1.247 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00319/1.207, allocations: 1.029 MB / 1.248 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004223/1.211, allocations: 3.459 MB / 1.252 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/1.213, allocations: 0.9439 MB / 1.253 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/1.214, allocations: 1.169 MB / 1.254 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/1.216, allocations: 1.039 MB / 1.255 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003011/1.216, allocations: 203.9 kB / 1.255 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/1.22, allocations: 2.239 MB / 1.257 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00128/1.222, allocations: 1.427 MB / 1.259 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/1.223, allocations: 1.473 MB / 1.26 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008637/1.232, allocations: 5.618 MB / 1.266 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.232, allocations: 7.938 kB / 1.266 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/1.232, allocations: 0 / 1.266 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.036e-05/1.232, allocations: 0 / 1.266 GB, free: 7.289 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.009644/1.242, allocations: 4.162 MB / 1.27 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.242, allocations: 12.03 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003202/1.242, allocations: 190.2 kB / 1.27 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/1.244, allocations: 349.1 kB / 1.27 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08653/1.331, allocations: 87.72 MB / 1.356 GB, free: 10.69 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/1.331, allocations: 122.4 kB / 1.356 GB, free: 10.57 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005234/1.331, allocations: 148 kB / 1.356 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/1.335, allocations: 1.538 MB / 1.358 GB, free: 8.828 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/1.335, allocations: 0 / 1.358 GB, free: 8.828 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/1.336, allocations: 60 kB / 1.358 GB, free: 8.77 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/1.336, allocations: 28 kB / 1.358 GB, free: 8.742 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/1.339, allocations: 1.609 MB / 1.359 GB, free: 7.125 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0261/1.365, allocations: 23.64 MB / 1.382 GB, free: 15.41 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/1.368, allocations: 1.438 MB / 1.384 GB, free: 13.96 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/1.369, allocations: 0.8823 MB / 1.385 GB, free: 13.07 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.644e-05/1.369, allocations: 37.17 kB / 1.385 GB, free: 13.04 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/1.37, allocations: 0.9537 MB / 1.386 GB, free: 12.07 MB / 1.123 GB Notification: Performance of pre-optimization done (n=104): time 3.747e-06/1.37, allocations: 0 / 1.386 GB, free: 12.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=104): time 0.005559/1.376, allocations: 2.755 MB / 1.388 GB, free: 9.309 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002575/1.376, allocations: 330.5 kB / 1.389 GB, free: 8.938 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1076/1.484, allocations: 99.69 MB / 1.486 GB, free: 5.215 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004088/1.484, allocations: 61.7 kB / 1.486 GB, free: 5.148 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001511/1.486, allocations: 1.101 MB / 1.487 GB, free: 4.035 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005115/1.486, allocations: 335.2 kB / 1.487 GB, free: 3.703 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008674/1.487, allocations: 359.4 kB / 1.488 GB, free: 3.344 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.487, allocations: 305.1 kB / 1.488 GB, free: 3.043 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/1.489, allocations: 1.195 MB / 1.489 GB, free: 1.844 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/1.491, allocations: 1.423 MB / 1.491 GB, free: 372 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/1.495, allocations: 2.586 MB / 1.493 GB, free: 13.72 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.495, allocations: 0 / 1.493 GB, free: 13.72 MB / 1.232 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005631/1.501, allocations: 3.207 MB / 1.496 GB, free: 10.5 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/1.501, allocations: 149.6 kB / 1.496 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/1.501, allocations: 4 kB / 1.496 GB, free: 10.34 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.501, allocations: 12.41 kB / 1.496 GB, free: 10.33 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.502, allocations: 311.5 kB / 1.497 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/1.502, allocations: 11.98 kB / 1.497 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.504, allocations: 321.7 kB / 1.497 GB, free: 9.695 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/1.504, allocations: 67.97 kB / 1.497 GB, free: 9.629 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.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 (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001946/1.506, allocations: 1.048 MB / 1.498 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001357/1.508, allocations: 236.9 kB / 1.498 GB, free: 8.328 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/1.512, allocations: 2.513 MB / 1.501 GB, free: 5.793 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.512, allocations: 12 kB / 1.501 GB, free: 5.781 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.512, allocations: 0 / 1.501 GB, free: 5.781 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/1.512, allocations: 7.969 kB / 1.501 GB, free: 5.773 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/1.517, allocations: 2.025 MB / 1.503 GB, free: 3.699 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.517, allocations: 4 kB / 1.503 GB, free: 3.695 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006694/1.517, allocations: 159.8 kB / 1.503 GB, free: 3.539 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/1.517, allocations: 0 / 1.503 GB, free: 3.539 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-05/1.517, allocations: 39.97 kB / 1.503 GB, free: 3.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.517, allocations: 4 kB / 1.503 GB, free: 3.496 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.517, allocations: 0 / 1.503 GB, free: 3.496 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/1.522, allocations: 2.335 MB / 1.505 GB, free: 1.133 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.524, allocations: 0.798 MB / 1.506 GB, free: 320 kB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007536/1.525, allocations: 39.83 kB / 1.506 GB, free: 280 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.527, allocations: 179.9 kB / 1.506 GB, free: 100 kB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.527, allocations: 84.88 kB / 1.506 GB, free: 16 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.527, allocations: 59.91 kB / 1.506 GB, free: 15.96 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.07347/1.601, allocations: 79.56 MB / 1.584 GB, free: 384 kB / 1.311 GB Notification: Performance of sort global known variables: time 4.41e-07/1.601, allocations: 0 / 1.584 GB, free: 384 kB / 1.311 GB Notification: Performance of remove unused functions: time 0.6509/2.252, allocations: 1.049 MB / 1.585 GB, free: 458.2 MB / 1.311 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,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008863/2.26, allocations: 3.741 MB / 1.589 GB, free: 457.3 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.00517/2.266, allocations: 3.544 MB / 1.592 GB, free: 455.9 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/2.266, allocations: 0.7812 kB / 1.592 GB, free: 455.9 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/2.268, allocations: 1.526 MB / 1.594 GB, free: 455.3 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/2.271, allocations: 393.5 kB / 1.594 GB, free: 455.1 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.327/2.598, allocations: 412.7 MB / 1.997 GB, free: 80.46 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/2.6, allocations: 1.788 MB / 1.999 GB, free: 78.65 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002255/2.602, allocations: 0.7815 MB / 2 GB, free: 77.87 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/2.604, allocations: 1.136 MB / 2.001 GB, free: 76.73 MB / 1.311 GB Notification: Performance of SimCode: time 1.142e-06/2.604, allocations: 4 kB / 2.001 GB, free: 76.73 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8501/3.454, allocations: 112.5 MB / 2.111 GB, free: 468.1 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/16.67, allocations: 1.312 kB / 2.111 GB, free: 468.1 MB / 1.326 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches