Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 99 kB / 15.05 MB, free: 1.105 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.001152/0.001152, allocations: 177.3 kB / 15.94 MB, free: 220 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.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9107, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002409/0.9132, allocations: 1.621 MB / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.9144, allocations: 0.6089 MB / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.9147, allocations: 2.906 kB / 0.9558 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.801e-05/0.9148, allocations: 15.8 kB / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.915, allocations: 45.27 kB / 0.9558 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.9156, allocations: 113.1 kB / 0.9559 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.916, allocations: 160.9 kB / 0.9561 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.9161, allocations: 51.48 kB / 0.9561 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.9163, allocations: 88.14 kB / 0.9562 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.9164, allocations: 100.9 kB / 0.9563 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.9164, allocations: 10 kB / 0.9563 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.9165, allocations: 13.75 kB / 0.9564 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.9165, allocations: 37.52 kB / 0.9564 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.9166, allocations: 58.34 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.9168, allocations: 180.2 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.9168, allocations: 4 kB / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9168, allocations: 0 / 0.9566 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.9168, allocations: 0.875 kB / 0.9566 GB, free: 5.695 MB / 0.7169 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.001238/0.9181, allocations: 0.6266 MB / 0.9572 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.9181, allocations: 9.375 kB / 0.9572 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.9182, allocations: 47.11 kB / 0.9573 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.9183, allocations: 27.61 kB / 0.9573 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.9186, allocations: 262 kB / 0.9576 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.9187, allocations: 9.375 kB / 0.9576 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.9187, allocations: 13.81 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.9194, allocations: 258.5 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.9194, allocations: 0 / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.9195, allocations: 1.5 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.9195, allocations: 4.125 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.9204, allocations: 287.1 kB / 0.9581 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.9212, allocations: 0.5105 MB / 0.9586 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.9224, allocations: 314.3 kB / 0.9589 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.9224, allocations: 10.72 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006447/0.9231, allocations: 217.3 kB / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.9231, allocations: 4 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001536/0.9246, allocations: 450.6 kB / 0.9596 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.9247, allocations: 58.39 kB / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.9249, allocations: 214 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.9249, allocations: 32.7 kB / 0.9598 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.925, allocations: 133.8 kB / 0.96 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.9251, allocations: 40.23 kB / 0.96 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.9251, allocations: 5 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.9252, allocations: 336 kB / 0.9603 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.9257, allocations: 136.1 kB / 0.9605 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.9262, allocations: 138.5 kB / 0.9606 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.9267, allocations: 186.1 kB / 0.9608 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9267, allocations: 4 kB / 0.9608 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001123/0.9278, allocations: 404.5 kB / 0.9612 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.9279, allocations: 152 kB / 0.9613 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9279, allocations: 0.9062 kB / 0.9613 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.9279, allocations: 0.9688 kB / 0.9613 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.9283, allocations: 63.53 kB / 0.9614 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.9283, allocations: 1.094 kB / 0.9614 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.9286, allocations: 68.67 kB / 0.9614 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.9286, allocations: 8.375 kB / 0.9615 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.525e-06/0.9286, allocations: 3.781 kB / 0.9615 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009082/0.9296, allocations: 358.3 kB / 0.9618 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-06/0.9296, allocations: 0 / 0.9618 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-06/0.9296, allocations: 1.188 kB / 0.9618 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.9298, allocations: 62.39 kB / 0.9619 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.9298, allocations: 0 / 0.9619 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.9301, allocations: 63.67 kB / 0.9619 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.9301, allocations: 7.875 kB / 0.9619 GB, free: 1.887 MB / 0.7169 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.0001357/0.9303, allocations: 204.6 kB / 0.9621 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.9303, allocations: 15.53 kB / 0.9621 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.9304, allocations: 22.3 kB / 0.9622 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9304, allocations: 2.219 kB / 0.9622 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.9304, allocations: 0 / 0.9622 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.9304, allocations: 8.953 kB / 0.9622 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.9306, allocations: 272.5 kB / 0.9624 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.9307, allocations: 4.969 kB / 0.9624 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.9309, allocations: 58.88 kB / 0.9625 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9309, allocations: 1.031 kB / 0.9625 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.931, allocations: 4.969 kB / 0.9625 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.931, allocations: 1 kB / 0.9625 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.931, allocations: 8.953 kB / 0.9625 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.9319, allocations: 355.7 kB / 0.9628 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.932, allocations: 97.38 kB / 0.9629 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.932, allocations: 6.594 kB / 0.9629 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.9323, allocations: 50.11 kB / 0.963 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.9324, allocations: 34.41 kB / 0.963 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.9324, allocations: 3.375 kB / 0.963 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001272/0.9326, allocations: 155 kB / 0.9632 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.633e-06/0.9326, allocations: 5 kB / 0.9632 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003471/0.9329, allocations: 74.53 kB / 0.9632 GB, free: 0.8633 MB / 0.7169 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.001238/0.9342, allocations: 0.8934 MB / 0.9641 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.9358, allocations: 0.6717 MB / 0.9648 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9358, allocations: 0 / 0.9648 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.9363, allocations: 149.1 kB / 0.9649 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.9366, allocations: 31.84 kB / 0.9649 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/0.94, allocations: 1.413 MB / 0.9663 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.9404, allocations: 0.7305 MB / 0.967 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000132/0.9405, allocations: 21.2 kB / 0.9671 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.9407, allocations: 62.41 kB / 0.9671 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/0.9407, allocations: 4 kB / 0.9671 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.9576, allocations: 4.581 MB / 0.9716 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.9578, allocations: 217.3 kB / 0.9718 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.939, allocations: 0 / 0.9718 GB, free: 11.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat does not exist to compare? outputFormat=mat