Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001996/0.001996, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002499/0.002499, allocations: 212.8 kB / 22.24 MB, free: 5.262 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.988/2.988, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [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.002218/0.002218, allocations: 68.53 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3687, allocations: 169.9 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004416/0.3731, allocations: 2.323 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.3748, allocations: 0.8183 MB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3749, allocations: 3.938 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.3756, allocations: 151.4 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.3758, allocations: 63.59 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.376, allocations: 63.86 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3762, allocations: 159.5 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.3765, allocations: 93.11 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3767, allocations: 71.7 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.3768, allocations: 63.73 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.3769, allocations: 12 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.377, allocations: 51.89 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.259e-05/0.3771, allocations: 39.84 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.3772, allocations: 55.67 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3774, allocations: 182.8 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3774, allocations: 0 / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3775, allocations: 4 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3775, allocations: 0 / 1.287 GB, free: 8.297 MB / 0.9825 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.0008235/0.3783, allocations: 425.2 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3783, allocations: 8.031 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.3784, allocations: 42.75 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.3787, allocations: 36.81 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.379, allocations: 166.8 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.3791, allocations: 63.53 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3791, allocations: 16 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.3795, allocations: 176.3 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3795, allocations: 3.938 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.3795, allocations: 7.938 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.3796, allocations: 4 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.3798, allocations: 116.4 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3811, allocations: 0.5809 MB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.3814, allocations: 92.25 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.3815, allocations: 54.55 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.3815, allocations: 192 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.3818, allocations: 180.4 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3818, allocations: 0 / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005534/0.3824, allocations: 222.6 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.3825, allocations: 140.5 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.3828, allocations: 180.3 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3828, allocations: 33.7 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.3829, allocations: 144 kB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3829, allocations: 27.77 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.676e-05/0.383, allocations: 41.66 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3832, allocations: 326.8 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3833, allocations: 91.38 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3835, allocations: 169.1 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.3838, allocations: 230.3 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3838, allocations: 0 / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000467/0.3843, allocations: 308 kB / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/0.3844, allocations: 67.39 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3844, allocations: 0 / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3844, allocations: 4 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3845, allocations: 31.92 kB / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3846, allocations: 7.938 kB / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3847, allocations: 28.19 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3848, allocations: 12 kB / 1.29 GB, free: 3.863 MB / 0.9825 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.0002107/0.385, allocations: 161 kB / 1.291 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.385, allocations: 23.84 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.385, allocations: 17.39 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.385, allocations: 48 / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3851, allocations: 7.984 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3851, allocations: 0 / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3852, allocations: 164.7 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3853, allocations: 3.938 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.3853, allocations: 11.98 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3853, allocations: 4 kB / 1.291 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3854, allocations: 4 kB / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3854, allocations: 0 / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3854, allocations: 0 / 1.291 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.3858, allocations: 286.1 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.3858, allocations: 11.83 kB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.3859, allocations: 11.94 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.53e-05/0.386, allocations: 11.98 kB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.386, allocations: 7.984 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3861, allocations: 12 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001236/0.3862, allocations: 140.3 kB / 1.291 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3862, allocations: 0 / 1.291 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002507/0.3864, allocations: 31.95 kB / 1.291 GB, free: 2.871 MB / 0.9825 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.0007497/0.3872, allocations: 0.8087 MB / 1.292 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.3876, allocations: 300.4 kB / 1.292 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3876, allocations: 8 kB / 1.292 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3877, allocations: 117 kB / 1.292 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.388, allocations: 31.92 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.3906, allocations: 2.232 MB / 1.295 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3907, allocations: 102.7 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.358e-05/0.3908, allocations: 28.41 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.3909, allocations: 39.42 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3909, allocations: 0 / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.4267, allocations: 3.752 MB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.26, allocations: 4.75 kB / 1.299 GB, free: 11.29 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable voltageControl.V_nominal in file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable voltageControl.V_nominal from file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable sou.V_in in file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable sou.V_in from file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable Vtr_high.y in file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable Vtr_high.y from file Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.52309413580224]