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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005367/0.005367, allocations: 96.69 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 196.4 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.597/2.597, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 72.09 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2508, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003209/0.2541, allocations: 2.319 MB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.2551, allocations: 0.7675 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.2552, allocations: 11.94 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.2557, allocations: 147.4 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.2559, allocations: 67.59 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.256, allocations: 51.89 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.2562, allocations: 159.5 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.2564, allocations: 93.06 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2566, allocations: 71.7 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.2567, allocations: 71.73 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2567, allocations: 8 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2568, allocations: 55.83 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.2569, allocations: 43.83 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.257, allocations: 67.67 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.2572, allocations: 167.3 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2572, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2572, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.2572, allocations: 0 / 1.224 GB, free: 10.24 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.0006243/0.2579, allocations: 0.4905 MB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2579, allocations: 12.03 kB / 1.225 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.258, allocations: 42.73 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.2581, allocations: 24.83 kB / 1.225 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.2584, allocations: 220.1 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.2584, allocations: 38.44 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.2585, allocations: 11.94 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2587, allocations: 152.1 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2587, allocations: 0 / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2587, allocations: 8 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2588, allocations: 7.984 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.259, allocations: 79.95 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.2597, allocations: 0.6481 MB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.2599, allocations: 58.56 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.26, allocations: 28.84 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.26, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.2602, allocations: 150.9 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2602, allocations: 0 / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003351/0.2606, allocations: 167.2 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.2607, allocations: 128.5 kB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2608, allocations: 186.8 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2608, allocations: 29.7 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.2609, allocations: 140 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.261, allocations: 23.89 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/0.261, allocations: 45.66 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2612, allocations: 318.8 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.2613, allocations: 43.97 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2614, allocations: 107.3 kB / 1.227 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.2616, allocations: 234.3 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2616, allocations: 0 / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003342/0.262, allocations: 244.7 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.262, allocations: 71.33 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2621, allocations: 3.938 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2621, allocations: 4 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.2622, allocations: 31.92 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2622, allocations: 4 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2623, allocations: 28.19 kB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2623, allocations: 8 kB / 1.228 GB, free: 6.078 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.0001253/0.2625, allocations: 167.4 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2625, allocations: 23.88 kB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2625, allocations: 13.41 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2625, allocations: 0 / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2625, allocations: 0 / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2626, allocations: 3.984 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.2627, allocations: 209.6 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2628, allocations: 4 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/0.2628, allocations: 15.98 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2628, allocations: 3.938 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2629, allocations: 0 / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2629, allocations: 0 / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2629, allocations: 0 / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.2632, allocations: 218.6 kB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.2633, allocations: 85.09 kB / 1.228 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.2633, allocations: 11.98 kB / 1.228 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.2634, allocations: 12 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2635, allocations: 11.98 kB / 1.229 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.2635, allocations: 4 kB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001135/0.2636, allocations: 132.3 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2636, allocations: 0 / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002206/0.2638, allocations: 31.95 kB / 1.229 GB, free: 5.035 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.0006127/0.2645, allocations: 0.7585 MB / 1.229 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.2648, allocations: 218.6 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2648, allocations: 0.6875 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.2649, allocations: 103.3 kB / 1.23 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.2651, allocations: 31.91 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.2671, allocations: 1.955 MB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2674, allocations: 0.7158 MB / 1.232 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.187e-05/0.2674, allocations: 20.62 kB / 1.232 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.2675, allocations: 39.42 kB / 1.232 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.2675, allocations: 0 / 1.232 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/0.4781, allocations: 3.135 MB / 1.235 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.849/8.327, allocations: 8.203 kB / 1.235 GB, free: 13.91 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) 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) Reference file matches