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.001313/0.001313, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001471/0.001471, allocations: 218.2 kB / 22.25 MB, free: 5.258 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.777 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.118/3.118, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.002775/0.002775, allocations: 73.88 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3437, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01042/0.3542, allocations: 7.547 MB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1808/0.535, allocations: 140.7 MB / 1.471 GB, free: 12.65 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.5364, allocations: 55.56 kB / 1.471 GB, free: 12.6 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005213/0.5416, allocations: 2.144 MB / 1.473 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/0.5451, allocations: 1.288 MB / 1.474 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/0.5486, allocations: 1.538 MB / 1.476 GB, free: 7.625 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007293/0.5559, allocations: 5.769 MB / 1.481 GB, free: 1.844 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.558, allocations: 0.8221 MB / 1.482 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.562, allocations: 1.761 MB / 1.484 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003328/0.5653, allocations: 1.693 MB / 1.485 GB, free: 13.51 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007141/0.566, allocations: 296 kB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006118/0.5721, allocations: 3.035 MB / 1.489 GB, free: 10.18 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.005454/0.5776, allocations: 4.854 MB / 1.493 GB, free: 5.316 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00822/0.5858, allocations: 3.92 MB / 1.497 GB, free: 1.379 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02782/0.6136, allocations: 18.07 MB / 1.515 GB, free: 15.25 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.6136, allocations: 0 / 1.515 GB, free: 15.25 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6136, allocations: 0 / 1.515 GB, free: 15.25 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0004138/0.614, allocations: 4 kB / 1.515 GB, free: 15.24 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.03848/0.6525, allocations: 14.67 MB / 1.529 GB, free: 476 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.6526, allocations: 12.03 kB / 1.529 GB, free: 464 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005132/0.6531, allocations: 236.9 kB / 1.529 GB, free: 216 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007275/0.6604, allocations: 1.034 MB / 1.53 GB, free: 15.17 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.263/2.923, allocations: 0.995 GB / 2.525 GB, free: 302.8 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/2.924, allocations: 171.1 kB / 2.526 GB, free: 302.6 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006591/2.924, allocations: 243.9 kB / 2.526 GB, free: 302.4 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/2.929, allocations: 2.77 MB / 2.528 GB, free: 299.4 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/2.929, allocations: 0 / 2.528 GB, free: 299.4 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/2.929, allocations: 79.98 kB / 2.529 GB, free: 299.4 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/2.929, allocations: 36 kB / 2.529 GB, free: 299.3 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/2.932, allocations: 2.336 MB / 2.531 GB, free: 297 MB / 1.623 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1272/3.06, allocations: 240.8 MB / 2.766 GB, free: 56.01 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/3.062, allocations: 1.586 MB / 2.768 GB, free: 54.42 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/3.063, allocations: 0.9119 MB / 2.768 GB, free: 53.5 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/3.064, allocations: 32.91 kB / 2.768 GB, free: 53.47 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/3.065, allocations: 1.59 MB / 2.77 GB, free: 51.78 MB / 1.623 GB Notification: Performance of pre-optimization done (n=138): time 3.287e-06/3.065, allocations: 0 / 2.77 GB, free: 51.78 MB / 1.623 GB Notification: Performance of matching and sorting (n=138): time 0.01012/3.075, allocations: 3.909 MB / 2.774 GB, free: 47.84 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/3.075, allocations: 338.5 kB / 2.774 GB, free: 47.46 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.658/5.734, allocations: 1.182 GB / 3.957 GB, free: 167.2 MB / 1.654 GB Notification: Performance of collectPreVariables (initialization): time 0.0006762/5.734, allocations: 85.69 kB / 3.957 GB, free: 167.2 MB / 1.654 GB Notification: Performance of collectInitialEqns (initialization): time 0.006908/5.741, allocations: 3.761 MB / 3.96 GB, free: 163.7 MB / 1.654 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/5.742, allocations: 477.9 kB / 3.961 GB, free: 163.5 MB / 1.654 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001563/5.744, allocations: 0.6794 MB / 3.961 GB, free: 162.8 MB / 1.654 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/5.744, allocations: 301.1 kB / 3.962 GB, free: 162.5 MB / 1.654 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/5.746, allocations: 1.854 MB / 3.964 GB, free: 160.7 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/5.749, allocations: 2.927 MB / 3.966 GB, free: 157.3 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004196/5.753, allocations: 4.137 MB / 3.97 GB, free: 152.8 MB / 1.654 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/5.753, allocations: 8 kB / 3.97 GB, free: 152.8 MB / 1.654 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01334/5.766, allocations: 5.708 MB / 3.976 GB, free: 147.4 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/5.766, allocations: 179.2 kB / 3.976 GB, free: 147.2 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/5.766, allocations: 28 kB / 3.976 GB, free: 147.2 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006994/5.767, allocations: 124.6 kB / 3.976 GB, free: 147 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/5.769, allocations: 0.62 MB / 3.977 GB, free: 146.4 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/5.771, allocations: 1.574 MB / 3.979 GB, free: 144.7 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009424/5.781, allocations: 1.195 MB / 3.98 GB, free: 143.6 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/5.782, allocations: 144.7 kB / 3.98 GB, free: 143.4 MB / 1.654 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.006644/5.788, allocations: 3.821 MB / 3.984 GB, free: 139.6 MB / 1.654 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005297/5.794, allocations: 0.7914 MB / 3.984 GB, free: 138.8 MB / 1.654 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007192/5.801, allocations: 3.886 MB / 3.988 GB, free: 134.9 MB / 1.654 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/5.801, allocations: 16 kB / 3.988 GB, free: 134.9 MB / 1.654 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/5.801, allocations: 0 / 3.988 GB, free: 134.9 MB / 1.654 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/5.801, allocations: 7.969 kB / 3.988 GB, free: 134.9 MB / 1.654 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/5.813, allocations: 5.044 MB / 3.993 GB, free: 129.8 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/5.813, allocations: 0 / 3.993 GB, free: 129.8 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/5.814, allocations: 211.6 kB / 3.993 GB, free: 129.6 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/5.815, allocations: 77.44 kB / 3.993 GB, free: 129.5 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/5.815, allocations: 39.97 kB / 3.993 GB, free: 129.5 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/5.817, allocations: 1.547 MB / 3.995 GB, free: 127.8 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/5.817, allocations: 0 / 3.995 GB, free: 127.8 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009058/5.826, allocations: 3.446 MB / 3.998 GB, free: 124.3 MB / 1.654 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009571/5.835, allocations: 3.421 MB / 4.002 GB, free: 120.9 MB / 1.654 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004237/5.84, allocations: 36.06 kB / 4.002 GB, free: 120.9 MB / 1.654 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00759/5.847, allocations: 0.7548 MB / 4.002 GB, free: 120.1 MB / 1.654 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004344/5.848, allocations: 105.1 kB / 4.002 GB, free: 120 MB / 1.654 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/5.848, allocations: 71.95 kB / 4.003 GB, free: 120 MB / 1.654 GB Notification: Performance of sorting global known variables: time 2.121/7.969, allocations: 0.9475 GB / 4.95 GB, free: 441 MB / 1.654 GB Notification: Performance of sort global known variables: time 2.8e-07/7.969, allocations: 0 / 4.95 GB, free: 441 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.008289/7.977, allocations: 1.895 MB / 4.952 GB, free: 439.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.01314/7.991, allocations: 4.983 MB / 4.957 GB, free: 435.1 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.005646/7.996, allocations: 4.069 MB / 4.961 GB, free: 431.1 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/7.996, allocations: 0 / 4.961 GB, free: 431.1 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/7.998, allocations: 1.605 MB / 4.962 GB, free: 429.4 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009794/8.008, allocations: 0.8504 MB / 4.963 GB, free: 428.6 MB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 8.66/16.67, allocations: 4.77 GB / 9.734 GB, free: 39.39 MB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007065/16.68, allocations: 4.177 MB / 9.738 GB, free: 35.22 MB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.007659/16.68, allocations: 3.007 MB / 9.741 GB, free: 32.3 MB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008227/16.69, allocations: 4.037 MB / 9.745 GB, free: 28.27 MB / 1.654 GB Notification: Performance of SimCode: time 1.943e-06/16.69, allocations: 0 / 9.745 GB, free: 28.27 MB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.388/19.08, allocations: 0.777 GB / 10.52 GB, free: 0.6221 GB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.24/52.32, allocations: 14.28 kB / 10.52 GB, free: 0.6221 GB / 1.686 GB " [Timeout remaining time 247] (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: 60.28741473000264]