Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001331/0.001331, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.001397/0.001397, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.353/1.353, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.064/3.064, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.98 kB / 1.134 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3242, allocations: 173.9 MB / 1.304 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01254/0.3368, allocations: 8.564 MB / 1.312 GB, free: 8.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1983/0.535, allocations: 159.9 MB / 1.469 GB, free: 8.441 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.5371, allocations: 35.81 kB / 1.469 GB, free: 8.406 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005643/0.5427, allocations: 2.019 MB / 1.471 GB, free: 6.379 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.5466, allocations: 1.275 MB / 1.472 GB, free: 5.105 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.5504, allocations: 1.443 MB / 1.473 GB, free: 3.668 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006579/0.557, allocations: 5.399 MB / 1.478 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.5587, allocations: 0.8643 MB / 1.479 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/0.5615, allocations: 1.734 MB / 1.481 GB, free: 11.6 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.564, allocations: 1.666 MB / 1.483 GB, free: 9.93 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005949/0.5646, allocations: 295.9 kB / 1.483 GB, free: 9.641 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/0.5693, allocations: 2.657 MB / 1.486 GB, free: 6.98 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004809/0.5741, allocations: 4.854 MB / 1.49 GB, free: 2.117 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.007204/0.5813, allocations: 4.868 MB / 1.495 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.02063/0.602, allocations: 17.9 MB / 1.512 GB, free: 11.27 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.602, allocations: 4 kB / 1.513 GB, free: 11.27 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.903e-06/0.602, allocations: 0 / 1.513 GB, free: 11.27 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0003369/0.6023, allocations: 0 / 1.513 GB, free: 11.27 MB / 1.217 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.04068/0.643, allocations: 14.41 MB / 1.527 GB, free: 12.72 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.643, allocations: 12.91 kB / 1.527 GB, free: 12.71 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005911/0.6436, allocations: 248.9 kB / 1.527 GB, free: 12.46 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/0.6499, allocations: 0.9636 MB / 1.528 GB, free: 11.49 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.182/2.832, allocations: 0.9948 GB / 2.523 GB, free: 290.3 MB / 1.607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/2.832, allocations: 171.1 kB / 2.523 GB, free: 290.1 MB / 1.607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005468/2.833, allocations: 236 kB / 2.523 GB, free: 289.9 MB / 1.607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/2.836, allocations: 2.377 MB / 2.525 GB, free: 287.4 MB / 1.607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/2.836, allocations: 7.938 kB / 2.525 GB, free: 287.4 MB / 1.607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/2.836, allocations: 68 kB / 2.525 GB, free: 287.3 MB / 1.607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/2.836, allocations: 36 kB / 2.525 GB, free: 287.3 MB / 1.607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/2.84, allocations: 2.464 MB / 2.528 GB, free: 284.8 MB / 1.607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1291/2.969, allocations: 243.2 MB / 2.765 GB, free: 41.36 MB / 1.607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/2.971, allocations: 1.662 MB / 2.767 GB, free: 39.69 MB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/2.972, allocations: 0.9839 MB / 2.768 GB, free: 38.71 MB / 1.607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/2.973, allocations: 40.2 kB / 2.768 GB, free: 38.68 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/2.974, allocations: 1.366 MB / 2.769 GB, free: 37.29 MB / 1.607 GB Notification: Performance of pre-optimization done (n=138): time 3.206e-06/2.974, allocations: 0 / 2.769 GB, free: 37.29 MB / 1.607 GB Notification: Performance of matching and sorting (n=138): time 0.0109/2.985, allocations: 4.352 MB / 2.773 GB, free: 32.91 MB / 1.607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/2.985, allocations: 366.5 kB / 2.774 GB, free: 32.5 MB / 1.607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.658/5.643, allocations: 1.182 GB / 3.956 GB, free: 96.14 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.0005202/5.643, allocations: 81.7 kB / 3.956 GB, free: 96.06 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.005051/5.648, allocations: 3.759 MB / 3.96 GB, free: 92.57 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005096/5.649, allocations: 478.5 kB / 3.96 GB, free: 92.42 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007818/5.65, allocations: 0.6765 MB / 3.961 GB, free: 91.74 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 3.602e-05/5.65, allocations: 301.1 kB / 3.961 GB, free: 91.44 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/5.652, allocations: 1.928 MB / 3.963 GB, free: 89.51 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/5.654, allocations: 2.879 MB / 3.966 GB, free: 86.26 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/5.659, allocations: 4.612 MB / 3.971 GB, free: 81.32 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/5.659, allocations: 8 kB / 3.971 GB, free: 81.31 MB / 1.623 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01116/5.67, allocations: 6.029 MB / 3.976 GB, free: 75.57 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/5.67, allocations: 205.6 kB / 3.977 GB, free: 75.36 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/5.67, allocations: 28 kB / 3.977 GB, free: 75.34 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/5.671, allocations: 124.9 kB / 3.977 GB, free: 75.21 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/5.673, allocations: 0.6127 MB / 3.977 GB, free: 74.6 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/5.675, allocations: 1.693 MB / 3.979 GB, free: 72.76 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006724/5.681, allocations: 1.193 MB / 3.98 GB, free: 71.71 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005482/5.682, allocations: 140 kB / 3.98 GB, free: 71.57 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (345): * Single equations (assignments): 343 * Array equations: 0 * 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.00496/5.687, allocations: 3.844 MB / 3.984 GB, free: 67.73 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004793/5.692, allocations: 0.7923 MB / 3.985 GB, free: 66.94 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006843/5.698, allocations: 4.361 MB / 3.989 GB, free: 62.57 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/5.698, allocations: 15.62 kB / 3.989 GB, free: 62.56 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/5.698, allocations: 4 kB / 3.989 GB, free: 62.55 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/5.698, allocations: 7.969 kB / 3.989 GB, free: 62.55 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/5.709, allocations: 6.786 MB / 3.996 GB, free: 55.75 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/5.709, allocations: 0.8438 kB / 3.996 GB, free: 55.75 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009572/5.71, allocations: 211.6 kB / 3.996 GB, free: 55.54 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/5.71, allocations: 72.8 kB / 3.996 GB, free: 55.47 MB / 1.623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/5.711, allocations: 39.97 kB / 3.996 GB, free: 55.43 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/5.712, allocations: 1.664 MB / 3.998 GB, free: 53.62 MB / 1.623 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/5.712, allocations: 0 / 3.998 GB, free: 53.62 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008596/5.721, allocations: 3.921 MB / 4.002 GB, free: 49.67 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008023/5.729, allocations: 3.179 MB / 4.005 GB, free: 46.48 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003719/5.732, allocations: 35.94 kB / 4.005 GB, free: 46.45 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005979/5.738, allocations: 0.7627 MB / 4.005 GB, free: 45.69 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/5.739, allocations: 97.19 kB / 4.006 GB, free: 45.59 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/5.739, allocations: 71.95 kB / 4.006 GB, free: 45.52 MB / 1.623 GB Notification: Performance of sorting global known variables: time 1.991/7.73, allocations: 0.9475 GB / 4.953 GB, free: 375.1 MB / 1.639 GB Notification: Performance of sort global known variables: time 2.9e-07/7.73, allocations: 0 / 4.953 GB, free: 375.1 MB / 1.639 GB Notification: Performance of remove unused functions: time 0.007701/7.738, allocations: 1.898 MB / 4.955 GB, free: 373.4 MB / 1.639 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.0127/7.751, allocations: 5.414 MB / 4.96 GB, free: 368.9 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.005193/7.756, allocations: 4.387 MB / 4.964 GB, free: 364.5 MB / 1.639 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/7.756, allocations: 0 / 4.964 GB, free: 364.5 MB / 1.639 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/7.758, allocations: 1.874 MB / 4.966 GB, free: 362.6 MB / 1.639 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009628/7.767, allocations: 0.8501 MB / 4.967 GB, free: 361.8 MB / 1.639 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.793/16.56, allocations: 4.771 GB / 9.738 GB, free: 0.5533 GB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007612/16.57, allocations: 4.657 MB / 9.743 GB, free: 0.5517 GB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.007499/16.58, allocations: 3.013 MB / 9.746 GB, free: 0.5512 GB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009387/16.58, allocations: 4.03 MB / 9.75 GB, free: 0.5485 GB / 1.654 GB Notification: Performance of SimCode: time 1.863e-06/16.58, allocations: 0 / 9.75 GB, free: 0.5485 GB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.541/18.13, allocations: 0.766 GB / 10.52 GB, free: 0.5036 GB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.53/55.66, allocations: 7.469 kB / 10.52 GB, free: 0.5036 GB / 1.686 GB " [Timeout remaining time 244] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 63.5573808811605]