Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.AbsorbedRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_latest_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.01052/0.01052, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002139/0.002139, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.555/1.555, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.91 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3387, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01095/0.3497, allocations: 6.996 MB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.081/1.43, allocations: 155.6 MB / 1.366 GB, free: 4.582 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/1.432, allocations: 26.62 kB / 1.366 GB, free: 4.574 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.007143/1.44, allocations: 1.812 MB / 1.368 GB, free: 3.836 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003815/1.443, allocations: 0.8796 MB / 1.369 GB, free: 3.312 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003962/1.447, allocations: 1.036 MB / 1.37 GB, free: 2.766 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006721/1.454, allocations: 3.661 MB / 1.373 GB, free: 1.086 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/1.457, allocations: 0.9304 MB / 1.374 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/1.46, allocations: 1.191 MB / 1.375 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/1.462, allocations: 1.071 MB / 1.376 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/1.464, allocations: 199.2 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006131/1.47, allocations: 2.245 MB / 1.379 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002345/1.472, allocations: 1.417 MB / 1.38 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004536/1.477, allocations: 1.508 MB / 1.382 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01377/1.491, allocations: 5.678 MB / 1.387 GB, free: 8.641 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.491, allocations: 0 / 1.387 GB, free: 8.641 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/1.491, allocations: 0 / 1.387 GB, free: 8.641 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002088/1.491, allocations: 1.281 kB / 1.387 GB, free: 8.641 MB / 1.076 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.01594/1.507, allocations: 4.202 MB / 1.391 GB, free: 5.805 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.507, allocations: 9.188 kB / 1.391 GB, free: 5.805 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006439/1.508, allocations: 191.6 kB / 1.391 GB, free: 5.652 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/1.51, allocations: 349.2 kB / 1.392 GB, free: 5.473 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08923/1.6, allocations: 87.73 MB / 1.477 GB, free: 2.27 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/1.6, allocations: 110.4 kB / 1.478 GB, free: 2.16 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/1.6, allocations: 155.7 kB / 1.478 GB, free: 2.012 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/1.604, allocations: 1.542 MB / 1.479 GB, free: 420 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/1.604, allocations: 3.938 kB / 1.479 GB, free: 416 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/1.604, allocations: 59.94 kB / 1.479 GB, free: 356 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/1.604, allocations: 32 kB / 1.479 GB, free: 324 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/1.607, allocations: 1.606 MB / 1.481 GB, free: 14.7 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02726/1.634, allocations: 24.03 MB / 1.504 GB, free: 6.504 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/1.637, allocations: 1.436 MB / 1.506 GB, free: 5.062 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/1.639, allocations: 0.894 MB / 1.507 GB, free: 4.168 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/1.639, allocations: 37.17 kB / 1.507 GB, free: 4.129 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/1.641, allocations: 0.9459 MB / 1.508 GB, free: 3.172 MB / 1.186 GB Notification: Performance of pre-optimization done (n=104): time 3.978e-06/1.641, allocations: 0 / 1.508 GB, free: 3.172 MB / 1.186 GB Notification: Performance of matching and sorting (n=104): time 0.006208/1.647, allocations: 2.753 MB / 1.51 GB, free: 412 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002839/1.647, allocations: 328.2 kB / 1.511 GB, free: 32 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1153/1.762, allocations: 99.68 MB / 1.608 GB, free: 12.32 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005659/1.763, allocations: 61.69 kB / 1.608 GB, free: 12.25 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001969/1.765, allocations: 1.097 MB / 1.609 GB, free: 11.14 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/1.766, allocations: 331.2 kB / 1.609 GB, free: 10.81 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/1.767, allocations: 371.4 kB / 1.61 GB, free: 10.44 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.767, allocations: 301.1 kB / 1.61 GB, free: 10.14 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/1.769, allocations: 1.191 MB / 1.611 GB, free: 8.953 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/1.772, allocations: 1.42 MB / 1.613 GB, free: 7.477 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/1.775, allocations: 2.598 MB / 1.615 GB, free: 4.828 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.775, allocations: 3.938 kB / 1.615 GB, free: 4.824 MB / 1.295 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006832/1.782, allocations: 3.207 MB / 1.618 GB, free: 1.602 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/1.783, allocations: 153.6 kB / 1.618 GB, free: 1.445 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.783, allocations: 4 kB / 1.618 GB, free: 1.441 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/1.783, allocations: 8 kB / 1.618 GB, free: 1.434 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.784, allocations: 311.5 kB / 1.619 GB, free: 1.129 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.404e-05/1.784, allocations: 12.34 kB / 1.619 GB, free: 1.117 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002555/1.786, allocations: 329.7 kB / 1.619 GB, free: 0.793 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/1.787, allocations: 67.97 kB / 1.619 GB, free: 0.7266 MB / 1.295 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.002242/1.789, allocations: 1.04 MB / 1.62 GB, free: 15.67 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.791, allocations: 243 kB / 1.62 GB, free: 15.43 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004811/1.795, allocations: 2.516 MB / 1.623 GB, free: 12.9 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.795, allocations: 8 kB / 1.623 GB, free: 12.89 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.795, allocations: 0 / 1.623 GB, free: 12.89 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.796, allocations: 11.97 kB / 1.623 GB, free: 12.88 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/1.801, allocations: 2.013 MB / 1.625 GB, free: 10.82 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.801, allocations: 0 / 1.625 GB, free: 10.82 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.802, allocations: 163.7 kB / 1.625 GB, free: 10.66 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.269e-05/1.802, allocations: 8 kB / 1.625 GB, free: 10.65 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/1.802, allocations: 39.95 kB / 1.625 GB, free: 10.61 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.339e-05/1.802, allocations: 4 kB / 1.625 GB, free: 10.61 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.802, allocations: 0 / 1.625 GB, free: 10.61 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005227/1.807, allocations: 2.323 MB / 1.627 GB, free: 8.258 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/1.81, allocations: 0.8058 MB / 1.628 GB, free: 7.43 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.811, allocations: 32 kB / 1.628 GB, free: 7.398 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.813, allocations: 185.3 kB / 1.628 GB, free: 7.219 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/1.813, allocations: 76.89 kB / 1.628 GB, free: 7.145 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.813, allocations: 51.97 kB / 1.628 GB, free: 7.094 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.07352/1.887, allocations: 79.56 MB / 1.706 GB, free: 7.508 MB / 1.389 GB Notification: Performance of sort global known variables: time 8.12e-07/1.887, allocations: 4 kB / 1.706 GB, free: 7.504 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.004519/1.891, allocations: 1.084 MB / 1.707 GB, free: 6.418 MB / 1.389 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.00929/1.901, allocations: 3.728 MB / 1.711 GB, free: 2.844 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.00533/1.906, allocations: 3.545 MB / 1.714 GB, free: 15.29 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.906, allocations: 4.062 kB / 1.714 GB, free: 15.28 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/1.908, allocations: 1.532 MB / 1.716 GB, free: 13.74 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/1.912, allocations: 415.6 kB / 1.716 GB, free: 13.35 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.073/2.985, allocations: 412.7 MB / 2.119 GB, free: 260.4 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/2.986, allocations: 1.781 MB / 2.121 GB, free: 258.6 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.002443/2.989, allocations: 0.7706 MB / 2.122 GB, free: 257.9 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/2.99, allocations: 1.144 MB / 2.123 GB, free: 256.8 MB / 1.482 GB Notification: Performance of SimCode: time 1.062e-06/2.99, allocations: 0 / 2.123 GB, free: 256.8 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2239/3.214, allocations: 113.3 MB / 2.233 GB, free: 144.7 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/16.44, allocations: 7.25 kB / 2.233 GB, free: 144.7 MB / 1.482 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches