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.0008754/0.0008754, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001035/0.001035, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8996/0.8996, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9504 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.42e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002959/0.002983, allocations: 2.301 MB / 0.9527 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004004, allocations: 0.8181 MB / 0.9535 GB, free: 420 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.297e-05/0.004097, allocations: 4 kB / 0.9535 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0005296/0.004627, allocations: 147.3 kB / 0.9536 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.004799, allocations: 71.42 kB / 0.9537 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.004966, allocations: 63.8 kB / 0.9538 GB, free: 132 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.005176, allocations: 171.3 kB / 0.9539 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.005398, allocations: 77.17 kB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.005579, allocations: 107.6 kB / 0.9541 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.005713, allocations: 51.81 kB / 0.9542 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.00574, allocations: 12 kB / 0.9542 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.429e-05/0.005835, allocations: 47.95 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.00589, allocations: 43.83 kB / 0.9543 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.005947, allocations: 51.83 kB / 0.9543 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.006169, allocations: 187.4 kB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.006172, allocations: 0 / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.343e-06/0.006173, allocations: 0 / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.006178, allocations: 0 / 0.9545 GB, free: 15.39 MB / 0.9167 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.0005947/0.006773, allocations: 421.3 kB / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.00681, allocations: 8.031 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.006844, allocations: 42.73 kB / 0.9549 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.007033, allocations: 36.83 kB / 0.955 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.007222, allocations: 154.2 kB / 0.9551 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.007282, allocations: 68.08 kB / 0.9552 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.007307, allocations: 20.06 kB / 0.9552 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.007535, allocations: 173.9 kB / 0.9554 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.007544, allocations: 0 / 0.9554 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.007556, allocations: 4 kB / 0.9554 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.007575, allocations: 8 kB / 0.9554 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.007724, allocations: 119.8 kB / 0.9555 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.008349, allocations: 0.5849 MB / 0.9561 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.008553, allocations: 80.27 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.008609, allocations: 54.61 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.008625, allocations: 4 kB / 0.9562 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.008799, allocations: 176.4 kB / 0.9564 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.008801, allocations: 0 / 0.9564 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002884/0.009089, allocations: 222.8 kB / 0.9566 GB, free: 13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.009143, allocations: 136.5 kB / 0.9567 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.00927, allocations: 192 kB / 0.9569 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.009284, allocations: 33.7 kB / 0.9569 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.009351, allocations: 140 kB / 0.9571 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.009371, allocations: 23.84 kB / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.009419, allocations: 37.7 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.009496, allocations: 322.8 kB / 0.9574 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.009574, allocations: 103.3 kB / 0.9575 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.009674, allocations: 160.8 kB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.009833, allocations: 234.3 kB / 0.9579 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.009835, allocations: 0 / 0.9579 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003982/0.01023, allocations: 316.1 kB / 0.9582 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.01027, allocations: 55.41 kB / 0.9583 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01028, allocations: 7.938 kB / 0.9583 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.0103, allocations: 8 kB / 0.9583 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.01038, allocations: 31.92 kB / 0.9583 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01039, allocations: 4 kB / 0.9583 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.01047, allocations: 36.14 kB / 0.9583 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.01048, allocations: 4 kB / 0.9583 GB, free: 10.97 MB / 0.9167 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.0001048/0.01058, allocations: 174.4 kB / 0.9585 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.0106, allocations: 15.89 kB / 0.9585 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.01062, allocations: 21.39 kB / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01063, allocations: 0 / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.01063, allocations: 0 / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01063, allocations: 0 / 0.9585 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.01075, allocations: 172.7 kB / 0.9587 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01075, allocations: 4 kB / 0.9587 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.0108, allocations: 12 kB / 0.9587 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01081, allocations: 0 / 0.9587 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.01082, allocations: 11.88 kB / 0.9587 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.01082, allocations: 0 / 0.9587 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01082, allocations: 0 / 0.9587 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.0111, allocations: 278.4 kB / 0.959 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.01111, allocations: 11.94 kB / 0.959 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.01114, allocations: 11.94 kB / 0.959 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.01118, allocations: 16.05 kB / 0.959 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.01123, allocations: 7.922 kB / 0.959 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.01123, allocations: 8 kB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.0113, allocations: 135.2 kB / 0.9592 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.0113, allocations: 4 kB / 0.9592 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001676/0.01147, allocations: 24 kB / 0.9592 GB, free: 9.984 MB / 0.9167 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.0004381/0.01191, allocations: 0.8204 MB / 0.96 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.01215, allocations: 303.9 kB / 0.9603 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01215, allocations: 0 / 0.9603 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.01222, allocations: 117.1 kB / 0.9604 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01241, allocations: 18.64 kB / 0.9604 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.01403, allocations: 2.236 MB / 0.9626 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.83e-05/0.0141, allocations: 102.8 kB / 0.9627 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.151e-05/0.01416, allocations: 24.62 kB / 0.9627 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.01422, allocations: 36.48 kB / 0.9628 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of SimCode: time 8.21e-07/0.01422, allocations: 0 / 0.9628 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.03077, allocations: 3.903 MB / 0.9666 GB, free: 2.262 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.983, allocations: 3.984 kB / 0.9666 GB, free: 2.258 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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] "" Variables in the reference:time,voltageControl.V_nominal,sou.V_in,Vtr_high.y,voltageControl.y Variables in the result:time,voltageControl.y [Calling sys.exit(0), Time elapsed: 11.132043151184916]