Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.001524/0.001524, allocations: 108.6 kB / 16.45 MB, free: 6.453 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.001757/0.001757, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.379/3.379, allocations: 0.49 GB / 0.7915 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [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.002168/0.002168, allocations: 68.61 kB / 1.149 GB, free: 26.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4236, allocations: 176.1 MB / 1.321 GB, free: 2.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00427/0.4279, allocations: 2.357 MB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.4294, allocations: 0.857 MB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/0.4295, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.4302, allocations: 159.3 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.4303, allocations: 63.67 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.4305, allocations: 67.73 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.4308, allocations: 159.5 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.4311, allocations: 87.38 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.4312, allocations: 71.77 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.4314, allocations: 75.61 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.4315, allocations: 12 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.4316, allocations: 63.88 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.4316, allocations: 31.91 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.4317, allocations: 63.67 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.432, allocations: 183.3 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.432, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.432, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.4321, allocations: 3.938 kB / 1.325 GB, free: 14.64 MB / 1.029 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.0008906/0.4329, allocations: 0.4906 MB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.433, allocations: 11.98 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.4333, allocations: 40.81 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.4336, allocations: 222.9 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.4337, allocations: 38.02 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.4337, allocations: 12 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.434, allocations: 154.2 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.434, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.434, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.4341, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.4343, allocations: 87.83 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.4352, allocations: 0.6404 MB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4355, allocations: 54.55 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.4356, allocations: 24.91 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.4356, allocations: 4 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.4358, allocations: 146.8 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.4358, allocations: 0 / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004265/0.4362, allocations: 163.2 kB / 1.327 GB, free: 12.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.4363, allocations: 140.5 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.4365, allocations: 179.2 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4366, allocations: 33.7 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4367, allocations: 144 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4367, allocations: 19.89 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.4368, allocations: 41.66 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4369, allocations: 322.8 kB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.437, allocations: 35.98 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.4372, allocations: 117.6 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.4375, allocations: 226.4 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.4375, allocations: 7.938 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003938/0.4379, allocations: 244.6 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.4379, allocations: 63.41 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4379, allocations: 4 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4379, allocations: 4 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.4381, allocations: 27.92 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.4381, allocations: 8.297 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.4382, allocations: 23.89 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.4382, allocations: 12 kB / 1.329 GB, free: 10.53 MB / 1.029 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.0001457/0.4384, allocations: 168.5 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.4384, allocations: 19.84 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.839e-05/0.4385, allocations: 17.39 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4385, allocations: 0 / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4385, allocations: 0 / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.4385, allocations: 7.938 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.4387, allocations: 217.6 kB / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4387, allocations: 0 / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.4388, allocations: 11.94 kB / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4388, allocations: 7.984 kB / 1.329 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4388, allocations: 4.047 kB / 1.329 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4388, allocations: 0 / 1.329 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4388, allocations: 3.984 kB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.4392, allocations: 222.6 kB / 1.33 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.4393, allocations: 85 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.4393, allocations: 4.031 kB / 1.33 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.4394, allocations: 11.98 kB / 1.33 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.4395, allocations: 11.98 kB / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4395, allocations: 0 / 1.33 GB, free: 9.633 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001193/0.4396, allocations: 139.2 kB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4396, allocations: 0 / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002604/0.4399, allocations: 36.02 kB / 1.33 GB, free: 9.461 MB / 1.029 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.0001225/0.44, allocations: 103.2 kB / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003591/0.4404, allocations: 210.6 kB / 1.33 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4404, allocations: 0 / 1.33 GB, free: 9.121 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.4405, allocations: 83.39 kB / 1.33 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.4407, allocations: 28.48 kB / 1.33 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.4414, allocations: 298.1 kB / 1.331 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.4417, allocations: 0.7161 MB / 1.331 GB, free: 7.938 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.247e-05/0.4418, allocations: 20.62 kB / 1.331 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.4418, allocations: 15.44 kB / 1.331 GB, free: 7.906 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4418, allocations: 0 / 1.331 GB, free: 7.906 MB / 1.029 GB Notification: Performance of Templates: time 0.004846/0.4467, allocations: 1.434 MB / 1.333 GB, free: 6.488 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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: 9.569784143008292]