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.001665/0.001665, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002115/0.002115, allocations: 217.1 kB / 22.26 MB, free: 5.125 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.984 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.947/2.947, allocations: 476.7 MB / 0.7707 GB, free: 4.297 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.002052/0.002052, allocations: 65.05 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2966, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00412/0.3007, allocations: 2.396 MB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.3023, allocations: 0.8805 MB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3024, allocations: 4 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.3031, allocations: 155.3 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.3033, allocations: 55.67 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.3035, allocations: 79.73 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.3038, allocations: 155.5 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.304, allocations: 84.7 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3042, allocations: 83.64 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3044, allocations: 71.73 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3045, allocations: 12 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3046, allocations: 59.88 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.3047, allocations: 39.84 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.3047, allocations: 63.67 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.305, allocations: 183.2 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.305, allocations: 4 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.674e-06/0.305, allocations: 0 / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3051, allocations: 0 / 1.288 GB, free: 7.434 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.0008072/0.3059, allocations: 421.2 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3059, allocations: 8.031 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.306, allocations: 46.73 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002864/0.3063, allocations: 32.83 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3065, allocations: 173 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/0.3066, allocations: 67.52 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.3066, allocations: 8 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3069, allocations: 144.2 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.307, allocations: 4 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.307, allocations: 4 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.307, allocations: 4 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.3072, allocations: 95.81 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/0.3081, allocations: 0.6043 MB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3083, allocations: 54.56 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.3084, allocations: 28.84 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.3084, allocations: 4.125 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3086, allocations: 142.7 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3086, allocations: 0 / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003932/0.309, allocations: 167.2 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3091, allocations: 136.5 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.3093, allocations: 183.2 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3093, allocations: 33.64 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3095, allocations: 144 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.3095, allocations: 23.8 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.3096, allocations: 37.66 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3097, allocations: 330.8 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.3098, allocations: 47.97 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.31, allocations: 109.2 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.3103, allocations: 230.3 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3103, allocations: 0 / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003883/0.3107, allocations: 240.7 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.3107, allocations: 59.41 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3108, allocations: 8.297 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3108, allocations: 8 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3109, allocations: 31.98 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3109, allocations: 3.938 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3111, allocations: 23.84 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3111, allocations: 15.98 kB / 1.291 GB, free: 3.43 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.0001561/0.3112, allocations: 155.5 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.3113, allocations: 19.88 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.3113, allocations: 17.41 kB / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3113, allocations: 0 / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3113, allocations: 0 / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3113, allocations: 0 / 1.291 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3115, allocations: 188.6 kB / 1.291 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3115, allocations: 7.938 kB / 1.291 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.3116, allocations: 15.92 kB / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3116, allocations: 0 / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3116, allocations: 3.938 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3116, allocations: 0 / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3116, allocations: 8 kB / 1.291 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.312, allocations: 210.7 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.312, allocations: 19.81 kB / 1.292 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3121, allocations: 4 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.171e-05/0.3122, allocations: 7.984 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.3122, allocations: 12.08 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.3122, allocations: 12.05 kB / 1.292 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001209/0.3124, allocations: 135.2 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3124, allocations: 0 / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002581/0.3126, allocations: 35.94 kB / 1.292 GB, free: 2.504 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.0008546/0.3135, allocations: 0.7606 MB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3138, allocations: 206.6 kB / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3138, allocations: 0 / 1.293 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3139, allocations: 87.38 kB / 1.293 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.3142, allocations: 20 kB / 1.293 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3165, allocations: 1.984 MB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3168, allocations: 0.7123 MB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.8e-05/0.3169, allocations: 24.42 kB / 1.296 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.317, allocations: 39.42 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.317, allocations: 4 kB / 1.296 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.3498, allocations: 3.368 MB / 1.299 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.56, allocations: 4.859 kB / 1.299 GB, free: 11.2 MB / 0.9981 GB " [Timeout remaining time 288] (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: 18.532222207000814]