Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008266/0.0008266, 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.0008348/0.0008348, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8751/0.8751, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.672/1.672, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 4 kB / 0.9809 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.882e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002515/0.002534, allocations: 2.3 MB / 0.9832 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008864/0.00342, allocations: 0.8103 MB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.003498, allocations: 11.88 kB / 0.984 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.003919, allocations: 143.3 kB / 0.9841 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.004057, allocations: 71.58 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.004184, allocations: 67.73 kB / 0.9842 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.004357, allocations: 159.4 kB / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.004549, allocations: 91.45 kB / 0.9845 GB, free: 15 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.00469, allocations: 91.8 kB / 0.9846 GB, free: 14.91 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.004812, allocations: 63.8 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.00483, allocations: 12 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.004908, allocations: 59.81 kB / 0.9847 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.004952, allocations: 35.91 kB / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.005005, allocations: 47.84 kB / 0.9848 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.005198, allocations: 183.4 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.0052, allocations: 4 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005202, allocations: 0 / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.005205, allocations: 0 / 0.9849 GB, free: 14.51 MB / 0.948 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.0004909/0.005696, allocations: 423.1 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005731, allocations: 12.03 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.005761, allocations: 42.75 kB / 0.9854 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.005921, allocations: 36.81 kB / 0.9854 GB, free: 13.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.006103, allocations: 166 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.00615, allocations: 60.16 kB / 0.9857 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.006174, allocations: 16.12 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.006384, allocations: 180.3 kB / 0.9858 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.006392, allocations: 0 / 0.9858 GB, free: 13.49 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.006403, allocations: 4 kB / 0.9858 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.006418, allocations: 11.94 kB / 0.9859 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.006547, allocations: 113.7 kB / 0.986 GB, free: 13.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.007085, allocations: 0.5811 MB / 0.9865 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.007255, allocations: 88.19 kB / 0.9866 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.825e-05/0.007304, allocations: 54.61 kB / 0.9867 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.007316, allocations: 3.984 kB / 0.9867 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.00746, allocations: 180.5 kB / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.007461, allocations: 0 / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002566/0.007717, allocations: 226.7 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.007769, allocations: 144.4 kB / 0.9872 GB, free: 11.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007883, allocations: 191.2 kB / 0.9874 GB, free: 11.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.007895, allocations: 25.7 kB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.007959, allocations: 136 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.007978, allocations: 23.78 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.008021, allocations: 41.7 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.008094, allocations: 330.8 kB / 0.9879 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-05/0.008162, allocations: 91.34 kB / 0.988 GB, free: 11.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.404e-05/0.008256, allocations: 164.8 kB / 0.9882 GB, free: 10.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.008406, allocations: 238.3 kB / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008408, allocations: 0 / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002147/0.008623, allocations: 300.1 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.008657, allocations: 67.7 kB / 0.9887 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.008663, allocations: 11.94 kB / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.008673, allocations: 0 / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.008742, allocations: 31.92 kB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.008748, allocations: 4.312 kB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.008817, allocations: 27.83 kB / 0.9888 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.008827, allocations: 12 kB / 0.9888 GB, free: 10.07 MB / 0.948 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 8.88e-05/0.008916, allocations: 165.7 kB / 0.989 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.008928, allocations: 7.953 kB / 0.989 GB, free: 9.883 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.00895, allocations: 21.41 kB / 0.989 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.008953, allocations: 7.984 kB / 0.989 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008956, allocations: 0 / 0.989 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.008959, allocations: 0 / 0.989 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.00906, allocations: 176.7 kB / 0.9892 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.009061, allocations: 0 / 0.9892 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.009101, allocations: 15.92 kB / 0.9892 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.009102, allocations: 0 / 0.9892 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.009111, allocations: 7.938 kB / 0.9892 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.009112, allocations: 0 / 0.9892 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.009112, allocations: 0 / 0.9892 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.009356, allocations: 282.1 kB / 0.9895 GB, free: 9.305 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.009371, allocations: 15.94 kB / 0.9895 GB, free: 9.289 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.009388, allocations: 3.938 kB / 0.9895 GB, free: 9.285 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.009428, allocations: 15.92 kB / 0.9895 GB, free: 9.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.009471, allocations: 11.98 kB / 0.9895 GB, free: 9.258 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.009475, allocations: 0 / 0.9895 GB, free: 9.258 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.604e-05/0.009541, allocations: 136.3 kB / 0.9896 GB, free: 9.125 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009541, allocations: 0 / 0.9896 GB, free: 9.125 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001535/0.009695, allocations: 35.94 kB / 0.9897 GB, free: 9.09 MB / 0.948 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.0003797/0.01007, allocations: 0.8127 MB / 0.9905 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.01028, allocations: 299.7 kB / 0.9908 GB, free: 7.891 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.01028, allocations: 0 / 0.9908 GB, free: 7.891 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.01036, allocations: 125 kB / 0.9909 GB, free: 7.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.01051, allocations: 24.67 kB / 0.9909 GB, free: 7.727 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.01193, allocations: 2.218 MB / 0.9931 GB, free: 5.297 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.01199, allocations: 102.8 kB / 0.9932 GB, free: 5.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.01204, allocations: 20.84 kB / 0.9932 GB, free: 5.156 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.01209, allocations: 44.48 kB / 0.9932 GB, free: 5.113 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/0.01209, allocations: 4 kB / 0.9932 GB, free: 5.109 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02755, allocations: 3.893 MB / 0.997 GB, free: 1.383 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/6.604, allocations: 0 / 0.997 GB, free: 1.383 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.486748552881181]