Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 110.4 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 214.5 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.55 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3622, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01274/0.3749, allocations: 8.661 MB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2108/0.5857, allocations: 163 MB / 1.494 GB, free: 5.645 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.5879, allocations: 55.56 kB / 1.494 GB, free: 5.59 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006144/0.5941, allocations: 2.194 MB / 1.496 GB, free: 3.387 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.5985, allocations: 1.295 MB / 1.497 GB, free: 2.09 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004317/0.6028, allocations: 1.545 MB / 1.498 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007585/0.6104, allocations: 5.773 MB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.6123, allocations: 0.8104 MB / 1.505 GB, free: 9.906 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00331/0.6156, allocations: 1.761 MB / 1.507 GB, free: 8.141 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.6188, allocations: 1.693 MB / 1.508 GB, free: 6.441 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.6199, allocations: 295.9 kB / 1.509 GB, free: 6.152 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006532/0.6265, allocations: 3.121 MB / 1.512 GB, free: 3.027 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.005098/0.6315, allocations: 4.858 MB / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.008243/0.6398, allocations: 4.872 MB / 1.521 GB, free: 9.266 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.0227/0.6625, allocations: 18.01 MB / 1.539 GB, free: 7.203 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.6625, allocations: 0 / 1.539 GB, free: 7.203 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6625, allocations: 0 / 1.539 GB, free: 7.203 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0004514/0.663, allocations: 0 / 1.539 GB, free: 7.203 MB / 1.232 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.04061/0.7036, allocations: 14.38 MB / 1.553 GB, free: 8.715 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.7036, allocations: 8.031 kB / 1.553 GB, free: 8.707 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005231/0.7041, allocations: 248.9 kB / 1.553 GB, free: 8.453 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007436/0.7116, allocations: 1.03 MB / 1.554 GB, free: 7.418 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.278/2.99, allocations: 0.9949 GB / 2.549 GB, free: 280.9 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/2.99, allocations: 175.1 kB / 2.549 GB, free: 280.7 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/2.991, allocations: 236 kB / 2.549 GB, free: 280.5 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003033/2.994, allocations: 2.375 MB / 2.552 GB, free: 278 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/2.994, allocations: 3.859 kB / 2.552 GB, free: 278 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/2.994, allocations: 68 kB / 2.552 GB, free: 278 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/2.994, allocations: 43.62 kB / 2.552 GB, free: 277.9 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/2.997, allocations: 2.471 MB / 2.554 GB, free: 275.5 MB / 1.623 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1266/3.123, allocations: 243.1 MB / 2.792 GB, free: 32.05 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/3.126, allocations: 1.674 MB / 2.793 GB, free: 30.38 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/3.127, allocations: 0.9845 MB / 2.794 GB, free: 29.39 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/3.127, allocations: 37.09 kB / 2.794 GB, free: 29.36 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/3.129, allocations: 1.354 MB / 2.796 GB, free: 27.98 MB / 1.623 GB Notification: Performance of pre-optimization done (n=138): time 2.424e-06/3.129, allocations: 0 / 2.796 GB, free: 27.98 MB / 1.623 GB Notification: Performance of matching and sorting (n=138): time 0.01057/3.139, allocations: 4.289 MB / 2.8 GB, free: 23.68 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/3.14, allocations: 362.5 kB / 2.8 GB, free: 23.27 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.611/5.75, allocations: 1.182 GB / 3.982 GB, free: 98.13 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.0005403/5.751, allocations: 85.7 kB / 3.983 GB, free: 98.04 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.004645/5.755, allocations: 3.767 MB / 3.986 GB, free: 94.55 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/5.756, allocations: 471.7 kB / 3.987 GB, free: 94.4 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007781/5.757, allocations: 0.6768 MB / 3.987 GB, free: 93.72 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 4.982e-05/5.757, allocations: 301.1 kB / 3.988 GB, free: 93.42 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/5.759, allocations: 1.927 MB / 3.989 GB, free: 91.49 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/5.761, allocations: 2.885 MB / 3.992 GB, free: 88.24 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/5.765, allocations: 4.618 MB / 3.997 GB, free: 83.3 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/5.765, allocations: 11.19 kB / 3.997 GB, free: 83.29 MB / 1.639 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0141/5.78, allocations: 6.034 MB / 4.003 GB, free: 77.55 MB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/5.78, allocations: 201.6 kB / 4.003 GB, free: 77.35 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/5.78, allocations: 35.06 kB / 4.003 GB, free: 77.32 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/5.78, allocations: 116.9 kB / 4.003 GB, free: 77.2 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/5.783, allocations: 0.6122 MB / 4.004 GB, free: 76.59 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/5.785, allocations: 1.593 MB / 4.005 GB, free: 74.88 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008965/5.794, allocations: 1.183 MB / 4.006 GB, free: 73.72 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/5.794, allocations: 150.5 kB / 4.006 GB, free: 73.57 MB / 1.639 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.005468/5.8, allocations: 3.844 MB / 4.01 GB, free: 69.71 MB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004113/5.804, allocations: 0.7991 MB / 4.011 GB, free: 68.91 MB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/5.81, allocations: 4.358 MB / 4.015 GB, free: 64.54 MB / 1.639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/5.81, allocations: 12 kB / 4.015 GB, free: 64.53 MB / 1.639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/5.81, allocations: 8.062 kB / 4.015 GB, free: 64.52 MB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/5.81, allocations: 7.969 kB / 4.015 GB, free: 64.52 MB / 1.639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008671/5.819, allocations: 6.765 MB / 4.022 GB, free: 57.72 MB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/5.819, allocations: 0 / 4.022 GB, free: 57.72 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/5.819, allocations: 216.2 kB / 4.022 GB, free: 57.51 MB / 1.639 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/5.82, allocations: 76.78 kB / 4.022 GB, free: 57.43 MB / 1.639 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/5.82, allocations: 40.27 kB / 4.022 GB, free: 57.4 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/5.822, allocations: 1.551 MB / 4.024 GB, free: 55.73 MB / 1.639 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/5.822, allocations: 4.031 kB / 4.024 GB, free: 55.72 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008826/5.83, allocations: 3.915 MB / 4.028 GB, free: 51.77 MB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00889/5.839, allocations: 3.112 MB / 4.031 GB, free: 48.65 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003924/5.843, allocations: 39.73 kB / 4.031 GB, free: 48.62 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005664/5.849, allocations: 0.7538 MB / 4.031 GB, free: 47.86 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/5.849, allocations: 105.1 kB / 4.031 GB, free: 47.76 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/5.849, allocations: 67.97 kB / 4.032 GB, free: 47.69 MB / 1.639 GB Notification: Performance of sorting global known variables: time 2.064/7.913, allocations: 0.9475 GB / 4.979 GB, free: 388 MB / 1.654 GB Notification: Performance of sort global known variables: time 2.4e-07/7.913, allocations: 0 / 4.979 GB, free: 388 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.008077/7.921, allocations: 1.892 MB / 4.981 GB, free: 386.2 MB / 1.654 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.01185/7.933, allocations: 5.441 MB / 4.986 GB, free: 381.6 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.005098/7.938, allocations: 4.378 MB / 4.99 GB, free: 377.3 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/7.938, allocations: 2.656 kB / 4.99 GB, free: 377.3 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/7.94, allocations: 1.867 MB / 4.992 GB, free: 375.4 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00894/7.949, allocations: 0.8554 MB / 4.993 GB, free: 374.6 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.445/16.39, allocations: 4.771 GB / 9.764 GB, free: 10.34 MB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/16.41, allocations: 4.651 MB / 9.769 GB, free: 5.691 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.01075/16.42, allocations: 3.018 MB / 9.772 GB, free: 2.773 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01165/16.43, allocations: 4.046 MB / 9.776 GB, free: 14.77 MB / 1.686 GB Notification: Performance of SimCode: time 1.092e-06/16.43, allocations: 0 / 9.776 GB, free: 14.77 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.351/18.78, allocations: 0.7673 GB / 10.54 GB, free: 0.5875 GB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.35/58.13, allocations: 2.031 kB / 10.54 GB, free: 0.5875 GB / 1.686 GB " [Timeout remaining time 242] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 66.46693648188375]