Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.001364/0.001364, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001507/0.001507, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.428/1.428, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9614/0.9635, allocations: 160.8 MB / 1.218 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01376/0.9773, allocations: 8.646 MB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2159/1.193, allocations: 160.1 MB / 1.383 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/1.196, allocations: 51.62 kB / 1.383 GB, free: 13.88 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.007106/1.203, allocations: 2.193 MB / 1.385 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004676/1.208, allocations: 1.28 MB / 1.387 GB, free: 10.39 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004483/1.212, allocations: 1.529 MB / 1.388 GB, free: 8.871 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007789/1.22, allocations: 5.754 MB / 1.394 GB, free: 3.102 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/1.222, allocations: 0.8181 MB / 1.395 GB, free: 2.234 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003584/1.226, allocations: 1.745 MB / 1.396 GB, free: 496 kB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/1.229, allocations: 1.693 MB / 1.398 GB, free: 14.79 MB / 1.108 GB Notification: Performance of NFPackage.collectConstants: time 0.0006803/1.229, allocations: 288 kB / 1.398 GB, free: 14.5 MB / 1.108 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00674/1.236, allocations: 3.085 MB / 1.401 GB, free: 11.41 MB / 1.108 GB Notification: Performance of NFScalarize.scalarize: time 0.005437/1.242, allocations: 4.373 MB / 1.406 GB, free: 7.035 MB / 1.108 GB Notification: Performance of NFVerifyModel.verify: time 0.003084/1.245, allocations: 1.718 MB / 1.407 GB, free: 5.309 MB / 1.108 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/1.258, allocations: 6.404 MB / 1.413 GB, free: 14.88 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.258, allocations: 0 / 1.413 GB, free: 14.88 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.274e-06/1.258, allocations: 0 / 1.413 GB, free: 14.88 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001622/1.258, allocations: 4 kB / 1.413 GB, free: 14.88 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01016/1.268, allocations: 4.311 MB / 1.418 GB, free: 10.48 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.268, allocations: 12.02 kB / 1.418 GB, free: 10.47 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.27, allocations: 442.5 kB / 1.418 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01698/1.287, allocations: 12.36 MB / 1.43 GB, free: 13.62 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/1.287, allocations: 171.1 kB / 1.43 GB, free: 13.45 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000677/1.288, allocations: 240 kB / 1.431 GB, free: 13.21 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/1.293, allocations: 2.381 MB / 1.433 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.973e-05/1.293, allocations: 3.938 kB / 1.433 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/1.293, allocations: 64 kB / 1.433 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/1.293, allocations: 40 kB / 1.433 GB, free: 10.67 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/1.297, allocations: 2.463 MB / 1.435 GB, free: 8.199 MB / 1.139 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.02421/1.322, allocations: 15.49 MB / 1.451 GB, free: 8.473 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/1.325, allocations: 1.675 MB / 1.452 GB, free: 6.789 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/1.327, allocations: 0.9845 MB / 1.453 GB, free: 5.805 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.327, allocations: 37.09 kB / 1.453 GB, free: 5.77 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002184/1.329, allocations: 1.358 MB / 1.454 GB, free: 4.387 MB / 1.154 GB Notification: Performance of pre-optimization done (n=138): time 2.535e-06/1.329, allocations: 3.938 kB / 1.454 GB, free: 4.383 MB / 1.154 GB Notification: Performance of matching and sorting (n=138): time 0.007826/1.337, allocations: 3.836 MB / 1.458 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000339/1.337, allocations: 362.5 kB / 1.459 GB, free: 112 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03551/1.373, allocations: 20.6 MB / 1.479 GB, free: 11.48 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0006031/1.373, allocations: 85.7 kB / 1.479 GB, free: 11.39 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001661/1.375, allocations: 1.18 MB / 1.48 GB, free: 10.2 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006576/1.376, allocations: 495.9 kB / 1.48 GB, free: 9.715 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004873/1.38, allocations: 5.015 MB / 1.485 GB, free: 4.676 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.381, allocations: 313.1 kB / 1.486 GB, free: 4.367 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0416/1.422, allocations: 38.67 MB / 1.523 GB, free: 13.68 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04409/1.466, allocations: 40.08 MB / 1.562 GB, free: 5.352 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8359/2.302, allocations: 47.94 MB / 1.609 GB, free: 359 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-05/2.302, allocations: 8.625 kB / 1.609 GB, free: 359 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06592/2.368, allocations: 91.43 MB / 1.699 GB, free: 278.3 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/2.368, allocations: 197.6 kB / 1.699 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-05/2.368, allocations: 20 kB / 1.699 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/2.369, allocations: 113 kB / 1.699 GB, free: 278 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/2.371, allocations: 0.62 MB / 1.7 GB, free: 277.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/2.373, allocations: 1.666 MB / 1.701 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/2.376, allocations: 382.2 kB / 1.702 GB, free: 275.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004932/2.377, allocations: 155.8 kB / 1.702 GB, free: 275.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * 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.002275/2.379, allocations: 2.511 MB / 1.704 GB, free: 272.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/2.38, allocations: 274.1 kB / 1.704 GB, free: 272.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/2.384, allocations: 3.5 MB / 1.708 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/2.384, allocations: 12 kB / 1.708 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/2.384, allocations: 3.938 kB / 1.708 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/2.384, allocations: 7.969 kB / 1.708 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/2.387, allocations: 2.08 MB / 1.71 GB, free: 267.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/2.387, allocations: 0 / 1.71 GB, free: 267.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008605/2.388, allocations: 207.8 kB / 1.71 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/2.388, allocations: 68.67 kB / 1.71 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/2.388, allocations: 47.91 kB / 1.71 GB, free: 266.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/2.39, allocations: 1.661 MB / 1.712 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/2.39, allocations: 0 / 1.712 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/2.395, allocations: 3.36 MB / 1.715 GB, free: 261.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/2.396, allocations: 0.5657 MB / 1.716 GB, free: 261.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/2.396, allocations: 38.03 kB / 1.716 GB, free: 261.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/2.397, allocations: 91.44 kB / 1.716 GB, free: 261.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/2.398, allocations: 109.1 kB / 1.716 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/2.398, allocations: 71.89 kB / 1.716 GB, free: 260.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008011/2.406, allocations: 12.79 MB / 1.728 GB, free: 248.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.11e-07/2.406, allocations: 0 / 1.728 GB, free: 248.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004835/2.411, allocations: 1.796 MB / 1.73 GB, free: 246.4 MB / 1.295 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * 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.00298/2.414, allocations: 1.027 MB / 1.731 GB, free: 245.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02669/2.44, allocations: 41.27 MB / 1.771 GB, free: 204.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/2.44, allocations: 3.984 kB / 1.771 GB, free: 204.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/2.443, allocations: 1.872 MB / 1.773 GB, free: 202.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/2.445, allocations: 494.5 kB / 1.774 GB, free: 202.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/2.464, allocations: 19.78 MB / 1.793 GB, free: 182.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003856/2.467, allocations: 4.639 MB / 1.798 GB, free: 177.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001743/2.469, allocations: 0.641 MB / 1.798 GB, free: 177 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/2.47, allocations: 223.4 kB / 1.798 GB, free: 176.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/2.47, allocations: 0 / 1.798 GB, free: 176.7 MB / 1.295 GB Notification: Performance of Templates: time 0.09603/2.566, allocations: 64.29 MB / 1.861 GB, free: 112.7 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.795484513044357]