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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008086/0.008086, allocations: 101.8 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 193.5 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 67.89 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9569/0.9581, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01015/0.9683, allocations: 8.525 MB / 1.216 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.197/1.165, allocations: 159.4 MB / 1.372 GB, free: 4.965 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/1.168, allocations: 39.75 kB / 1.372 GB, free: 4.926 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005732/1.173, allocations: 2.001 MB / 1.374 GB, free: 2.918 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004737/1.178, allocations: 1.247 MB / 1.375 GB, free: 1.664 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004229/1.182, allocations: 1.445 MB / 1.376 GB, free: 228 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007059/1.19, allocations: 5.436 MB / 1.382 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/1.192, allocations: 1.227 MB / 1.383 GB, free: 9.5 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/1.195, allocations: 1.73 MB / 1.385 GB, free: 7.766 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003145/1.198, allocations: 1.565 MB / 1.386 GB, free: 6.195 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006776/1.199, allocations: 288 kB / 1.386 GB, free: 5.914 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005318/1.204, allocations: 2.571 MB / 1.389 GB, free: 3.34 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005102/1.209, allocations: 4.366 MB / 1.393 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003833/1.213, allocations: 1.726 MB / 1.395 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/1.226, allocations: 6.302 MB / 1.401 GB, free: 6.914 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.719e-06/1.226, allocations: 4 kB / 1.401 GB, free: 6.91 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.625e-06/1.226, allocations: 0 / 1.401 GB, free: 6.91 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001834/1.226, allocations: 0 / 1.401 GB, free: 6.91 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.01106/1.238, allocations: 4.188 MB / 1.405 GB, free: 2.645 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.238, allocations: 12.03 kB / 1.405 GB, free: 2.633 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/1.239, allocations: 428.4 kB / 1.406 GB, free: 2.211 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/1.253, allocations: 12.33 MB / 1.418 GB, free: 5.812 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/1.253, allocations: 175.1 kB / 1.418 GB, free: 5.641 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003749/1.254, allocations: 240 kB / 1.418 GB, free: 5.406 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/1.258, allocations: 2.377 MB / 1.42 GB, free: 2.969 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/1.258, allocations: 0 / 1.42 GB, free: 2.969 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/1.258, allocations: 68 kB / 1.42 GB, free: 2.902 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/1.258, allocations: 40 kB / 1.42 GB, free: 2.863 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/1.262, allocations: 2.467 MB / 1.423 GB, free: 400 kB / 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.02208/1.284, allocations: 15.47 MB / 1.438 GB, free: 0.6719 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/1.287, allocations: 1.991 MB / 1.44 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/1.289, allocations: 1.274 MB / 1.441 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/1.289, allocations: 37.09 kB / 1.441 GB, free: 13.37 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002231/1.292, allocations: 1.377 MB / 1.442 GB, free: 11.97 MB / 1.17 GB Notification: Performance of pre-optimization done (n=138): time 3.537e-06/1.292, allocations: 0 / 1.442 GB, free: 11.97 MB / 1.17 GB Notification: Performance of matching and sorting (n=138): time 0.007273/1.299, allocations: 3.815 MB / 1.446 GB, free: 8.121 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/1.299, allocations: 358.5 kB / 1.447 GB, free: 7.723 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03236/1.332, allocations: 20.6 MB / 1.467 GB, free: 3.094 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005481/1.332, allocations: 85.7 kB / 1.467 GB, free: 3.004 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.334, allocations: 1.167 MB / 1.468 GB, free: 1.824 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008302/1.334, allocations: 465.5 kB / 1.468 GB, free: 1.363 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004895/1.339, allocations: 4.927 MB / 1.473 GB, free: 12.4 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.34, allocations: 305.1 kB / 1.473 GB, free: 12.1 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03479/1.374, allocations: 38.67 MB / 1.511 GB, free: 5.414 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03567/1.41, allocations: 40.08 MB / 1.55 GB, free: 13.07 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7464/2.156, allocations: 47.73 MB / 1.597 GB, free: 323.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-05/2.157, allocations: 4 kB / 1.597 GB, free: 323.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06681/2.223, allocations: 90.97 MB / 1.686 GB, free: 235.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/2.224, allocations: 197.6 kB / 1.686 GB, free: 235.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.163e-05/2.224, allocations: 20 kB / 1.686 GB, free: 235.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/2.224, allocations: 110.7 kB / 1.686 GB, free: 235.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/2.227, allocations: 0.6174 MB / 1.687 GB, free: 234.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/2.229, allocations: 1.669 MB / 1.688 GB, free: 233 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/2.232, allocations: 365.9 kB / 1.689 GB, free: 232.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004908/2.233, allocations: 155.8 kB / 1.689 GB, free: 232.6 MB / 1.279 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.002477/2.235, allocations: 2.508 MB / 1.691 GB, free: 230.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005752/2.236, allocations: 256.5 kB / 1.692 GB, free: 229.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/2.241, allocations: 3.484 MB / 1.695 GB, free: 226.4 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/2.241, allocations: 14.2 kB / 1.695 GB, free: 226.4 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/2.241, allocations: 3.938 kB / 1.695 GB, free: 226.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/2.241, allocations: 7.969 kB / 1.695 GB, free: 226.4 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/2.243, allocations: 2.083 MB / 1.697 GB, free: 224.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/2.243, allocations: 5.969 kB / 1.697 GB, free: 224.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/2.244, allocations: 211.6 kB / 1.697 GB, free: 224.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004327/2.245, allocations: 72.38 kB / 1.697 GB, free: 224 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.786e-05/2.245, allocations: 43.98 kB / 1.697 GB, free: 223.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/2.246, allocations: 1.653 MB / 1.699 GB, free: 222.2 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/2.246, allocations: 3.938 kB / 1.699 GB, free: 222.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004296/2.251, allocations: 3.329 MB / 1.702 GB, free: 218.8 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/2.252, allocations: 0.548 MB / 1.703 GB, free: 218.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/2.252, allocations: 34.59 kB / 1.703 GB, free: 218.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/2.253, allocations: 87.91 kB / 1.703 GB, free: 218.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/2.253, allocations: 117 kB / 1.703 GB, free: 218 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/2.253, allocations: 67.91 kB / 1.703 GB, free: 217.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.007828/2.261, allocations: 12.8 MB / 1.715 GB, free: 205.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 6.92e-07/2.261, allocations: 0 / 1.715 GB, free: 205.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.005359/2.267, allocations: 1.776 MB / 1.717 GB, free: 203.4 MB / 1.279 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.002606/2.269, allocations: 1.025 MB / 1.718 GB, free: 202.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03/2.299, allocations: 50.91 MB / 1.768 GB, free: 151.8 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/2.299, allocations: 0 / 1.768 GB, free: 151.8 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002557/2.302, allocations: 2.725 MB / 1.771 GB, free: 149 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/2.304, allocations: 495.5 kB / 1.771 GB, free: 148.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/2.322, allocations: 19.08 MB / 1.79 GB, free: 129.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/2.326, allocations: 4.635 MB / 1.794 GB, free: 124.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00173/2.328, allocations: 0.6449 MB / 1.795 GB, free: 124.1 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/2.328, allocations: 219.4 kB / 1.795 GB, free: 123.9 MB / 1.279 GB Notification: Performance of SimCode: time 7.31e-07/2.328, allocations: 3.938 kB / 1.795 GB, free: 123.9 MB / 1.279 GB Notification: Performance of Templates: time 0.1603/2.489, allocations: 61.97 MB / 1.856 GB, free: 62.28 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (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 & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches