Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 108.9 kB / 16.41 MB, free: 6.441 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.001303/0.001303, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.505/1.505, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.646/2.646, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9357/0.9377, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009863/0.9476, allocations: 7.028 MB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.211/1.159, allocations: 155.6 MB / 1.326 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/1.16, allocations: 27.88 kB / 1.326 GB, free: 500 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005508/1.166, allocations: 1.824 MB / 1.328 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/1.169, allocations: 0.8935 MB / 1.329 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/1.172, allocations: 1.045 MB / 1.33 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004888/1.177, allocations: 3.664 MB / 1.333 GB, free: 9.051 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/1.179, allocations: 0.9213 MB / 1.334 GB, free: 8.082 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/1.181, allocations: 1.196 MB / 1.335 GB, free: 6.883 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/1.183, allocations: 1.059 MB / 1.337 GB, free: 5.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003093/1.183, allocations: 200 kB / 1.337 GB, free: 5.625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004225/1.187, allocations: 2.255 MB / 1.339 GB, free: 3.367 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/1.189, allocations: 1.365 MB / 1.34 GB, free: 2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/1.19, allocations: 1.026 MB / 1.341 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007451/1.198, allocations: 4.037 MB / 1.345 GB, free: 12.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.198, allocations: 0 / 1.345 GB, free: 12.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.443e-06/1.198, allocations: 0 / 1.345 GB, free: 12.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.56e-05/1.198, allocations: 0 / 1.345 GB, free: 12.92 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.005476/1.203, allocations: 2.679 MB / 1.348 GB, free: 10.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.203, allocations: 12.92 kB / 1.348 GB, free: 10.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009323/1.204, allocations: 279.4 kB / 1.348 GB, free: 9.883 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004198/1.208, allocations: 3.037 MB / 1.351 GB, free: 6.793 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/1.209, allocations: 110.4 kB / 1.351 GB, free: 6.684 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/1.209, allocations: 152 kB / 1.351 GB, free: 6.535 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.211, allocations: 1.538 MB / 1.353 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/1.211, allocations: 0 / 1.353 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.212, allocations: 56 kB / 1.353 GB, free: 4.883 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/1.212, allocations: 35.98 kB / 1.353 GB, free: 4.848 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/1.214, allocations: 1.605 MB / 1.354 GB, free: 3.234 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009423/1.224, allocations: 5.744 MB / 1.36 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/1.226, allocations: 1.439 MB / 1.361 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/1.227, allocations: 0.8824 MB / 1.362 GB, free: 10.99 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.694e-05/1.227, allocations: 37.17 kB / 1.362 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/1.229, allocations: 0.9538 MB / 1.363 GB, free: 9.984 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 3.407e-06/1.229, allocations: 0 / 1.363 GB, free: 9.984 MB / 1.092 GB Notification: Performance of matching and sorting (n=104): time 0.004715/1.234, allocations: 2.677 MB / 1.366 GB, free: 7.293 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/1.234, allocations: 328.2 kB / 1.366 GB, free: 6.922 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005632/1.24, allocations: 4.385 MB / 1.371 GB, free: 2.523 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003526/1.24, allocations: 57.7 kB / 1.371 GB, free: 2.461 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007499/1.241, allocations: 0.7097 MB / 1.371 GB, free: 1.742 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/1.241, allocations: 368.9 kB / 1.372 GB, free: 1.379 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/1.242, allocations: 1.08 MB / 1.373 GB, free: 300 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.243, allocations: 309.1 kB / 1.373 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007339/1.25, allocations: 7.043 MB / 1.38 GB, free: 8.941 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008114/1.258, allocations: 7.301 MB / 1.387 GB, free: 1.629 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.269, allocations: 8.999 MB / 1.396 GB, free: 8.586 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/1.269, allocations: 0 / 1.396 GB, free: 8.586 MB / 1.123 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.02021/1.289, allocations: 15.88 MB / 1.411 GB, free: 8.656 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/1.289, allocations: 149.6 kB / 1.411 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.289, allocations: 0 / 1.411 GB, free: 8.504 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/1.289, allocations: 8 kB / 1.411 GB, free: 8.496 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.291, allocations: 323.5 kB / 1.412 GB, free: 8.18 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.322e-05/1.291, allocations: 12 kB / 1.412 GB, free: 8.168 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/1.293, allocations: 205.1 kB / 1.412 GB, free: 7.969 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003501/1.293, allocations: 75.97 kB / 1.412 GB, free: 7.895 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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,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 (205): * Single equations (assignments): 192 * Array equations: 12 * 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.001659/1.295, allocations: 0.8487 MB / 1.413 GB, free: 7.031 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/1.295, allocations: 155 kB / 1.413 GB, free: 6.879 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/1.3, allocations: 2.376 MB / 1.415 GB, free: 4.484 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.3, allocations: 15.98 kB / 1.415 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.3, allocations: 0 / 1.415 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/1.3, allocations: 7.984 kB / 1.415 GB, free: 4.461 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/1.302, allocations: 1.361 MB / 1.417 GB, free: 3.047 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.302, allocations: 0 / 1.417 GB, free: 3.047 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/1.303, allocations: 155.8 kB / 1.417 GB, free: 2.895 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/1.303, allocations: 4 kB / 1.417 GB, free: 2.891 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/1.303, allocations: 35.97 kB / 1.417 GB, free: 2.855 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.303, allocations: 4 kB / 1.417 GB, free: 2.852 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.303, allocations: 0 / 1.417 GB, free: 2.852 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003871/1.307, allocations: 2.257 MB / 1.419 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008356/1.308, allocations: 411.6 kB / 1.419 GB, free: 148 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/1.308, allocations: 28 kB / 1.419 GB, free: 120 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/1.309, allocations: 79.86 kB / 1.42 GB, free: 40 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/1.309, allocations: 80.97 kB / 1.42 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.309, allocations: 51.97 kB / 1.42 GB, free: 15.91 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003521/1.313, allocations: 2.799 MB / 1.422 GB, free: 13.11 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.41e-07/1.313, allocations: 0 / 1.422 GB, free: 13.11 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002997/1.316, allocations: 1.087 MB / 1.423 GB, free: 12.02 MB / 1.154 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.003653/1.32, allocations: 0.9696 MB / 1.424 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.013/1.333, allocations: 10.7 MB / 1.435 GB, free: 0.5 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.333, allocations: 3.984 kB / 1.435 GB, free: 0.4961 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003064/1.336, allocations: 1.528 MB / 1.436 GB, free: 14.95 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.339, allocations: 361.8 kB / 1.437 GB, free: 14.61 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.35, allocations: 5.69 MB / 1.442 GB, free: 8.891 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/1.353, allocations: 1.785 MB / 1.444 GB, free: 7.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00161/1.354, allocations: 378.9 kB / 1.444 GB, free: 6.695 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007023/1.355, allocations: 151.4 kB / 1.445 GB, free: 6.547 MB / 1.17 GB Notification: Performance of SimCode: time 2.134e-06/1.355, allocations: 0 / 1.445 GB, free: 6.547 MB / 1.17 GB Notification: Performance of Templates: time 0.07478/1.43, allocations: 32.88 MB / 1.477 GB, free: 5.801 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches