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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 113.9 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] 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: 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_10_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_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 63.91 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3712, allocations: 160.7 MB / 1.214 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004768/0.376, allocations: 2.338 MB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3776, allocations: 0.7946 MB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.3777, allocations: 4 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.3784, allocations: 159.3 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.3786, allocations: 63.61 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.3788, allocations: 51.88 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.379, allocations: 159.5 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.3793, allocations: 81 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.3794, allocations: 71.77 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3796, allocations: 75.61 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3796, allocations: 12 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3798, allocations: 47.91 kB / 1.218 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.3798, allocations: 43.88 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.3799, allocations: 63.67 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3802, allocations: 163.3 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3802, allocations: 4 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3802, allocations: 4 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3802, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 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.001008/0.3812, allocations: 494.4 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3813, allocations: 8.031 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.3815, allocations: 28.83 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.3818, allocations: 212.1 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/0.3819, allocations: 42.39 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.3819, allocations: 16.12 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.3822, allocations: 152.1 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3822, allocations: 3.984 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3822, allocations: 3.938 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.3823, allocations: 4 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.3825, allocations: 91.89 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009238/0.3834, allocations: 0.6364 MB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.3836, allocations: 58.61 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.3837, allocations: 24.84 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3837, allocations: 4 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.384, allocations: 142.7 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.384, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004146/0.3844, allocations: 163.4 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.3845, allocations: 140.5 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.3847, allocations: 182.3 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3848, allocations: 29.7 kB / 1.22 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.3849, allocations: 140 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.3849, allocations: 23.83 kB / 1.221 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.385, allocations: 41.66 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002584/0.3853, allocations: 322.8 kB / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3854, allocations: 35.98 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3855, allocations: 113.4 kB / 1.221 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.3858, allocations: 226.4 kB / 1.221 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3858, allocations: 8 kB / 1.221 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004407/0.3863, allocations: 236.7 kB / 1.221 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.3863, allocations: 59.41 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3863, allocations: 11.88 kB / 1.222 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3863, allocations: 4 kB / 1.222 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3865, allocations: 36.23 kB / 1.222 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.3865, allocations: 4 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.3866, allocations: 23.88 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3866, allocations: 16 kB / 1.222 GB, free: 8.699 MB / 0.9669 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.0001523/0.3868, allocations: 165.2 kB / 1.222 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3868, allocations: 11.95 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.3868, allocations: 17.33 kB / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3868, allocations: 8 kB / 1.222 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3868, allocations: 3.938 kB / 1.222 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3868, allocations: 0 / 1.222 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.387, allocations: 217.5 kB / 1.222 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.387, allocations: 0 / 1.222 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.947e-05/0.3871, allocations: 8 kB / 1.222 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3871, allocations: 0 / 1.222 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3871, allocations: 15.92 kB / 1.222 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3871, allocations: 0 / 1.222 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3872, allocations: 0 / 1.222 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.3876, allocations: 214.7 kB / 1.222 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.3876, allocations: 92.95 kB / 1.222 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3877, allocations: 7.938 kB / 1.222 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.3878, allocations: 11.98 kB / 1.222 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.3878, allocations: 8 kB / 1.222 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3878, allocations: 3.984 kB / 1.222 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001771/0.388, allocations: 132.9 kB / 1.222 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.388, allocations: 4 kB / 1.223 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002478/0.3882, allocations: 32 kB / 1.223 GB, free: 7.656 MB / 0.9669 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.0001144/0.3884, allocations: 103.3 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003739/0.3887, allocations: 206.6 kB / 1.223 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3887, allocations: 0.625 kB / 1.223 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3889, allocations: 95.39 kB / 1.223 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.3891, allocations: 19.92 kB / 1.223 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.3898, allocations: 335.6 kB / 1.223 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3902, allocations: 0.7119 MB / 1.224 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.3902, allocations: 19.38 kB / 1.224 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3902, allocations: 0 / 1.224 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of Templates: time 0.003908/0.3941, allocations: 1.714 MB / 1.226 GB, free: 4.371 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.317502018995583]