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.001831/0.001831, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002302/0.002302, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 8.043 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.843/2.843, allocations: 476.7 MB / 0.7707 GB, free: 4.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.002095/0.002095, allocations: 69.8 kB / 1.117 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3113, allocations: 170 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004257/0.3156, allocations: 2.397 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3172, allocations: 0.8804 MB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3173, allocations: 0 / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.318, allocations: 155.3 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.3182, allocations: 63.66 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.3185, allocations: 67.8 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.3187, allocations: 163.5 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.319, allocations: 84.69 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.3191, allocations: 83.64 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3193, allocations: 71.73 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.3193, allocations: 12 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3195, allocations: 51.89 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.3195, allocations: 43.83 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.3196, allocations: 63.67 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.3199, allocations: 180 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3199, allocations: 0 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3199, allocations: 4 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.3199, allocations: 0 / 1.288 GB, free: 7.484 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.0007253/0.3206, allocations: 425.2 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3207, allocations: 8.031 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.3207, allocations: 46.73 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002941/0.321, allocations: 36.81 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.3213, allocations: 160.7 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-05/0.3214, allocations: 71.53 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3214, allocations: 12 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.3217, allocations: 140.2 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3217, allocations: 3.984 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.3218, allocations: 4 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.3218, allocations: 7.984 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.322, allocations: 95.83 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009164/0.3229, allocations: 0.6004 MB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.3231, allocations: 58.61 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.3232, allocations: 32.73 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3232, allocations: 4.188 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.3235, allocations: 146.7 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3235, allocations: 0 / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004033/0.3239, allocations: 159.3 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.324, allocations: 136.5 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3242, allocations: 187.2 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3242, allocations: 37.62 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3243, allocations: 136 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3243, allocations: 23.84 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.3244, allocations: 37.72 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3245, allocations: 326.8 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3246, allocations: 35.98 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.3248, allocations: 112 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.3251, allocations: 234.3 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3251, allocations: 0 / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004113/0.3255, allocations: 252.7 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.3255, allocations: 59.41 kB / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3256, allocations: 0 / 1.291 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3256, allocations: 4.312 kB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3257, allocations: 31.98 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3257, allocations: 7.938 kB / 1.291 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.3258, allocations: 31.83 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3259, allocations: 8 kB / 1.291 GB, free: 3.48 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.0001423/0.326, allocations: 163.5 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.326, allocations: 15.89 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.3261, allocations: 17.39 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3261, allocations: 7.938 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3261, allocations: 0 / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3261, allocations: 0 / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3263, allocations: 192.6 kB / 1.291 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3263, allocations: 3.938 kB / 1.291 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.3263, allocations: 8 kB / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3264, allocations: 0 / 1.291 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3264, allocations: 4 kB / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3264, allocations: 0 / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3264, allocations: 3.984 kB / 1.291 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.3268, allocations: 206.8 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.3268, allocations: 23.86 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.3268, allocations: 4 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.3269, allocations: 15.92 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.327, allocations: 4 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.327, allocations: 8 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001201/0.3271, allocations: 139.3 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3271, allocations: 0 / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000255/0.3274, allocations: 35.94 kB / 1.292 GB, free: 2.555 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.0007082/0.3281, allocations: 0.7565 MB / 1.293 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003715/0.3284, allocations: 211 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3285, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3286, allocations: 87.39 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.3288, allocations: 25.98 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.3312, allocations: 1.971 MB / 1.295 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3315, allocations: 0.7162 MB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.4e-05/0.3316, allocations: 24.41 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.3317, allocations: 43.36 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.3317, allocations: 0 / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.3671, allocations: 3.367 MB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 11.19 kB / 1.299 GB, free: 11.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.544302145019174]