Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009234/1.02, allocations: 8.295 MB / 1.28 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2363/1.257, allocations: 160.1 MB / 1.436 GB, free: 10.19 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/1.259, allocations: 38.19 kB / 1.436 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006557/1.266, allocations: 2.01 MB / 1.438 GB, free: 8.812 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00529/1.271, allocations: 1.303 MB / 1.44 GB, free: 7.824 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004833/1.276, allocations: 1.47 MB / 1.441 GB, free: 6.695 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007659/1.284, allocations: 5.4 MB / 1.446 GB, free: 2.004 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/1.286, allocations: 0.7571 MB / 1.447 GB, free: 1.195 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/1.289, allocations: 1.699 MB / 1.449 GB, free: 15.49 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/1.292, allocations: 1.615 MB / 1.45 GB, free: 13.87 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007724/1.293, allocations: 276 kB / 1.451 GB, free: 13.6 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005582/1.299, allocations: 2.434 MB / 1.453 GB, free: 11.16 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003449/1.302, allocations: 2.847 MB / 1.456 GB, free: 8.312 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002563/1.305, allocations: 1.391 MB / 1.457 GB, free: 6.914 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/1.315, allocations: 5.216 MB / 1.462 GB, free: 1.68 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.315, allocations: 4 kB / 1.462 GB, free: 1.676 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.984e-06/1.315, allocations: 0 / 1.462 GB, free: 1.676 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001003/1.315, allocations: 0 / 1.462 GB, free: 1.676 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.008353/1.324, allocations: 3.489 MB / 1.466 GB, free: 14.11 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.324, allocations: 12.03 kB / 1.466 GB, free: 14.1 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/1.325, allocations: 374.9 kB / 1.466 GB, free: 13.73 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/1.335, allocations: 7.458 MB / 1.473 GB, free: 6.199 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/1.335, allocations: 138.9 kB / 1.473 GB, free: 6.062 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/1.336, allocations: 188 kB / 1.474 GB, free: 5.879 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/1.34, allocations: 1.956 MB / 1.476 GB, free: 3.844 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/1.34, allocations: 4 kB / 1.476 GB, free: 3.84 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/1.34, allocations: 64 kB / 1.476 GB, free: 3.777 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.755e-05/1.34, allocations: 36 kB / 1.476 GB, free: 3.742 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00332/1.343, allocations: 1.982 MB / 1.478 GB, free: 1.754 MB / 1.154 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.01622/1.359, allocations: 10.61 MB / 1.488 GB, free: 6.914 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.363, allocations: 1.58 MB / 1.49 GB, free: 5.328 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.364, allocations: 0.9025 MB / 1.49 GB, free: 4.426 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/1.364, allocations: 40.92 kB / 1.49 GB, free: 4.387 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/1.366, allocations: 1.188 MB / 1.492 GB, free: 3.176 MB / 1.17 GB Notification: Performance of pre-optimization done (n=117): time 2.665e-06/1.366, allocations: 7.938 kB / 1.492 GB, free: 3.168 MB / 1.17 GB Notification: Performance of matching and sorting (n=117): time 0.00698/1.373, allocations: 3.496 MB / 1.495 GB, free: 15.64 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002697/1.373, allocations: 338.5 kB / 1.495 GB, free: 15.25 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/1.389, allocations: 11.59 MB / 1.507 GB, free: 3.633 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004938/1.389, allocations: 69.64 kB / 1.507 GB, free: 3.559 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.391, allocations: 0.978 MB / 1.508 GB, free: 2.574 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005906/1.391, allocations: 416.6 kB / 1.508 GB, free: 2.164 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002692/1.394, allocations: 2.724 MB / 1.511 GB, free: 15.42 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.394, allocations: 301.1 kB / 1.511 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02045/1.414, allocations: 20.12 MB / 1.531 GB, free: 11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02144/1.436, allocations: 20.7 MB / 1.551 GB, free: 6.25 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02442/1.46, allocations: 23.57 MB / 1.574 GB, free: 14.55 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/1.46, allocations: 4 kB / 1.574 GB, free: 14.54 MB / 1.264 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.0507/1.511, allocations: 44.27 MB / 1.617 GB, free: 2.133 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002792/1.511, allocations: 168.1 kB / 1.617 GB, free: 1.965 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.511, allocations: 4 kB / 1.617 GB, free: 1.961 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00067/1.512, allocations: 89.08 kB / 1.617 GB, free: 1.871 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.514, allocations: 399.4 kB / 1.618 GB, free: 1.48 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/1.516, allocations: 1.65 MB / 1.619 GB, free: 15.69 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.519, allocations: 258.2 kB / 1.62 GB, free: 15.43 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/1.519, allocations: 111.9 kB / 1.62 GB, free: 15.32 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (279): * Single equations (assignments): 238 * Array equations: 39 * Algorithm blocks: 1 * 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.00216/1.521, allocations: 1.536 MB / 1.621 GB, free: 13.77 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/1.522, allocations: 222.4 kB / 1.621 GB, free: 13.55 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/1.527, allocations: 2.972 MB / 1.624 GB, free: 10.56 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/1.527, allocations: 12 kB / 1.624 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/1.527, allocations: 0 / 1.624 GB, free: 10.55 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.527, allocations: 3.984 kB / 1.624 GB, free: 10.54 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/1.53, allocations: 1.796 MB / 1.626 GB, free: 8.695 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.53, allocations: 0 / 1.626 GB, free: 8.695 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/1.531, allocations: 191.7 kB / 1.626 GB, free: 8.508 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/1.532, allocations: 68.8 kB / 1.626 GB, free: 8.438 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.532, allocations: 39.97 kB / 1.626 GB, free: 8.398 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/1.534, allocations: 1.662 MB / 1.628 GB, free: 6.586 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.534, allocations: 8.016 kB / 1.628 GB, free: 6.578 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/1.539, allocations: 2.805 MB / 1.631 GB, free: 3.746 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.54, allocations: 0.4953 MB / 1.631 GB, free: 3.23 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/1.541, allocations: 31.94 kB / 1.631 GB, free: 3.199 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009874/1.542, allocations: 75.92 kB / 1.631 GB, free: 3.125 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/1.542, allocations: 88.88 kB / 1.631 GB, free: 3.039 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.542, allocations: 63.97 kB / 1.632 GB, free: 2.977 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.007781/1.55, allocations: 7.269 MB / 1.639 GB, free: 11.69 MB / 1.326 GB Notification: Performance of sort global known variables: time 3.2e-07/1.55, allocations: 0 / 1.639 GB, free: 11.69 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.00451/1.554, allocations: 1.396 MB / 1.64 GB, free: 10.29 MB / 1.326 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.003373/1.558, allocations: 0.9687 MB / 1.641 GB, free: 9.5 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.02513/1.583, allocations: 22.03 MB / 1.662 GB, free: 3.434 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.583, allocations: 0 / 1.662 GB, free: 3.434 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.586, allocations: 1.523 MB / 1.664 GB, free: 1.883 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.589, allocations: 456.3 kB / 1.664 GB, free: 1.453 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.61, allocations: 11.5 MB / 1.676 GB, free: 5.902 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003471/1.614, allocations: 3.008 MB / 1.679 GB, free: 2.863 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.001977/1.616, allocations: 0.5185 MB / 1.679 GB, free: 2.34 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/1.616, allocations: 187.4 kB / 1.679 GB, free: 2.156 MB / 1.357 GB Notification: Performance of SimCode: time 1.513e-06/1.616, allocations: 0 / 1.679 GB, free: 2.156 MB / 1.357 GB Notification: Performance of Templates: time 0.09377/1.71, allocations: 49.64 MB / 1.728 GB, free: 0.7422 MB / 1.404 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.124867747537792]