Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",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.001207/0.001207, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001214/0.001214, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.292/2.292, allocations: 437.1 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 0.8688 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5078, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003992/0.5118, allocations: 2.368 MB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.5132, allocations: 0.7677 MB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.5133, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005587/0.5139, allocations: 151.4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.5141, allocations: 63.67 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.5142, allocations: 43.95 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.5145, allocations: 159.5 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.5147, allocations: 107.2 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.5149, allocations: 67.77 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.515, allocations: 71.67 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.515, allocations: 12 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.5152, allocations: 47.91 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.5152, allocations: 35.89 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.5153, allocations: 75.66 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.5155, allocations: 167.4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5155, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5155, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5156, allocations: 0 / 1.021 GB, free: 14.56 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006728/0.5162, allocations: 0.4946 MB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.5163, allocations: 8.031 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.5163, allocations: 42.73 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.5165, allocations: 28.73 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.5168, allocations: 212.1 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.5168, allocations: 38.39 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.5168, allocations: 11.94 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.5171, allocations: 146.9 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5171, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.5172, allocations: 7.984 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5172, allocations: 7.984 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.5174, allocations: 87.89 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007936/0.5182, allocations: 0.6402 MB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.5184, allocations: 54.56 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.5185, allocations: 28.91 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.5185, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.5187, allocations: 150.9 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.5187, allocations: 8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003333/0.519, allocations: 159.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.5191, allocations: 132.5 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.5193, allocations: 186.7 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5193, allocations: 29.7 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.5194, allocations: 135.9 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.5194, allocations: 27.64 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.5195, allocations: 41.66 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.5196, allocations: 322.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.5197, allocations: 43.91 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.5198, allocations: 105.4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.52, allocations: 226.4 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5201, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003381/0.5204, allocations: 252.8 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.5205, allocations: 71.33 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.5205, allocations: 4 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5205, allocations: 0 / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5206, allocations: 31.92 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5206, allocations: 4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.5208, allocations: 27.83 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.5208, allocations: 8 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.5209, allocations: 168.3 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.5209, allocations: 19.75 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.521, allocations: 17.34 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.521, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.521, allocations: 7.984 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.521, allocations: 0 / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.5212, allocations: 209.6 kB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5212, allocations: 0 / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.5213, allocations: 11.98 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5213, allocations: 7.875 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.5213, allocations: 8 kB / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5213, allocations: 0 / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5213, allocations: 0 / 1.025 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.5217, allocations: 210.6 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.5217, allocations: 96.88 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.5218, allocations: 7.938 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.5219, allocations: 8.062 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.5219, allocations: 11.98 kB / 1.025 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.5219, allocations: 4 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001078/0.522, allocations: 132.3 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.522, allocations: 0 / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002369/0.5223, allocations: 32 kB / 1.025 GB, free: 9.375 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005963/0.5229, allocations: 0.7584 MB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.5232, allocations: 218.6 kB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5232, allocations: 0 / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.5233, allocations: 104.1 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.5236, allocations: 30.22 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.5256, allocations: 1.977 MB / 1.028 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5259, allocations: 0.7157 MB / 1.029 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.526, allocations: 28.56 kB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.526, allocations: 35.42 kB / 1.029 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5261, allocations: 0 / 1.029 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.5706, allocations: 2.917 MB / 1.032 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.5709, allocations: 204.5 kB / 1.032 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.231, allocations: 0 / 1.032 GB, free: 2.234 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches