Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001185, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009824/0.0009828, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.918/2.918, allocations: 437.7 MB / 0.7117 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 8 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9728/0.9733, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002396/0.9757, allocations: 1.649 MB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.9768, allocations: 0.6122 MB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.977, allocations: 11.94 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.977, allocations: 7.922 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.9772, allocations: 39.64 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.9776, allocations: 115.7 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.9779, allocations: 243.2 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.9781, allocations: 56.44 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.9782, allocations: 83.69 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.9784, allocations: 107.5 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.9784, allocations: 8 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.693e-05/0.9785, allocations: 12 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.9785, allocations: 35.83 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/0.9786, allocations: 53.64 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.9788, allocations: 189.5 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9788, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9788, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9789, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001273/0.9801, allocations: 0.6266 MB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.9802, allocations: 12.56 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.9803, allocations: 27.66 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.9808, allocations: 254.6 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.9808, allocations: 16 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.9808, allocations: 12 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.9815, allocations: 268 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9815, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.9815, allocations: 8 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.9816, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008046/0.9824, allocations: 279.7 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008883/0.9833, allocations: 0.5157 MB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.9842, allocations: 310.5 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004112/0.9847, allocations: 140.8 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.9847, allocations: 7.984 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005988/0.9853, allocations: 223 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.664e-06/0.9853, allocations: 4 kB / 1.028 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001379/0.9867, allocations: 447.4 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.9868, allocations: 67.39 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.987, allocations: 203 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.9871, allocations: 37.62 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.9872, allocations: 128.2 kB / 1.029 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.9872, allocations: 43.44 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.9873, allocations: 4 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9874, allocations: 330.8 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.9878, allocations: 131.9 kB / 1.029 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.9882, allocations: 151.3 kB / 1.03 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.9887, allocations: 179.3 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.9887, allocations: 7.953 kB / 1.03 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009538/0.9896, allocations: 398.5 kB / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.9898, allocations: 161.1 kB / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.9898, allocations: 0 / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9898, allocations: 0 / 1.03 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.9901, allocations: 63.88 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.9901, allocations: 11.92 kB / 1.03 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.9904, allocations: 55.8 kB / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.9904, allocations: 11.98 kB / 1.03 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/0.9904, allocations: 4 kB / 1.03 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008568/0.9913, allocations: 359.1 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.9913, allocations: 4 kB / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-06/0.9913, allocations: 0 / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.9915, allocations: 59.89 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-06/0.9915, allocations: 0 / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.9918, allocations: 63.78 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.9918, allocations: 4 kB / 1.031 GB, free: 6.957 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.992, allocations: 206.8 kB / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.992, allocations: 19.77 kB / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.9921, allocations: 29.5 kB / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9921, allocations: 4 kB / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.9921, allocations: 0 / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.9921, allocations: 0 / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.9924, allocations: 269.4 kB / 1.031 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9924, allocations: 0 / 1.031 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.9926, allocations: 63.88 kB / 1.031 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9926, allocations: 3.953 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.9927, allocations: 7.938 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.9927, allocations: 4 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9927, allocations: 4 kB / 1.032 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008786/0.9936, allocations: 354.5 kB / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.9936, allocations: 96.84 kB / 1.032 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.9937, allocations: 11.95 kB / 1.032 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.9939, allocations: 47.95 kB / 1.032 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.994, allocations: 31.94 kB / 1.032 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.9941, allocations: 4 kB / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001381/0.9942, allocations: 152.6 kB / 1.032 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9942, allocations: 3.938 kB / 1.032 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003323/0.9946, allocations: 71.84 kB / 1.032 GB, free: 5.512 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.9947, allocations: 107.2 kB / 1.032 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.9962, allocations: 0.6631 MB / 1.033 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.9963, allocations: 0 / 1.033 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.9968, allocations: 163.7 kB / 1.033 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.9972, allocations: 37.55 kB / 1.033 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008791/0.9981, allocations: 408.6 kB / 1.034 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.9984, allocations: 0.7289 MB / 1.034 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.9985, allocations: 21.55 kB / 1.034 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.9986, allocations: 19.42 kB / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of SimCode: time 2.825e-06/0.9986, allocations: 0 / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.006152/1.005, allocations: 2.76 MB / 1.037 GB, free: 0.5391 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches