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.001873/0.001873, allocations: 116.1 kB / 17.17 MB, free: 6 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.002317/0.002317, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.82/2.82, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="cs",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.002747/0.002747, allocations: 71.88 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9242/0.927, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004171/0.9311, allocations: 2.355 MB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.9328, allocations: 0.8638 MB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.9329, allocations: 6.781 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000711/0.9337, allocations: 149 kB / 1.282 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.9339, allocations: 65.44 kB / 1.282 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.9341, allocations: 64.5 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.9345, allocations: 164.8 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.9347, allocations: 80.23 kB / 1.283 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.9349, allocations: 75.52 kB / 1.283 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.9351, allocations: 74.55 kB / 1.283 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.9351, allocations: 12.41 kB / 1.283 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.9353, allocations: 60.38 kB / 1.283 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-05/0.9353, allocations: 39.06 kB / 1.283 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.932e-05/0.9354, allocations: 65.38 kB / 1.283 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.9357, allocations: 177.2 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9358, allocations: 0 / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9358, allocations: 0.75 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.9358, allocations: 5.438 kB / 1.283 GB, free: 9.039 MB / 0.9981 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.00084/0.9366, allocations: 0.4926 MB / 1.284 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.9366, allocations: 10.22 kB / 1.284 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.794e-05/0.9367, allocations: 7.844 kB / 1.284 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.9367, allocations: 44.12 kB / 1.284 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002894/0.937, allocations: 35.55 kB / 1.284 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.9373, allocations: 226.3 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.9373, allocations: 32.33 kB / 1.284 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.9374, allocations: 11.56 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.9377, allocations: 144.3 kB / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9377, allocations: 0 / 1.284 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.9377, allocations: 9.984 kB / 1.284 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.9378, allocations: 5.281 kB / 1.284 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002271/0.938, allocations: 94.81 kB / 1.284 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.939, allocations: 0.6312 MB / 1.285 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.9393, allocations: 57.97 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.9394, allocations: 31.19 kB / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.9394, allocations: 5.953 kB / 1.285 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.9396, allocations: 144.7 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.9396, allocations: 1.125 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004474/0.9401, allocations: 161 kB / 1.285 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.9402, allocations: 133 kB / 1.285 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.9404, allocations: 197.9 kB / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.9404, allocations: 28.02 kB / 1.285 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.9405, allocations: 134.5 kB / 1.286 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.9406, allocations: 25.73 kB / 1.286 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.9406, allocations: 37.86 kB / 1.286 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9408, allocations: 327.5 kB / 1.286 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.9409, allocations: 38.14 kB / 1.286 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.9411, allocations: 111.6 kB / 1.286 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.9413, allocations: 233 kB / 1.286 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9413, allocations: 1.375 kB / 1.286 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003892/0.9417, allocations: 250.8 kB / 1.287 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.9418, allocations: 66.05 kB / 1.287 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.9418, allocations: 6.5 kB / 1.287 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.9418, allocations: 3.844 kB / 1.287 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.9419, allocations: 26.36 kB / 1.287 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.9419, allocations: 8.484 kB / 1.287 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.9421, allocations: 30.39 kB / 1.287 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.9421, allocations: 8.906 kB / 1.287 GB, free: 5.848 MB / 0.9981 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.0001581/0.9423, allocations: 170.5 kB / 1.287 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.9423, allocations: 16.27 kB / 1.287 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.9423, allocations: 15.2 kB / 1.287 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9423, allocations: 0.7031 kB / 1.287 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.9423, allocations: 0.9375 kB / 1.287 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9423, allocations: 0 / 1.287 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.9426, allocations: 222.2 kB / 1.287 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9426, allocations: 0.6094 kB / 1.287 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.9426, allocations: 14.03 kB / 1.287 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.9426, allocations: 1.406 kB / 1.287 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.9427, allocations: 2.281 kB / 1.287 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.9427, allocations: 5.094 kB / 1.287 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9427, allocations: 0 / 1.287 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.9431, allocations: 216.8 kB / 1.287 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.9432, allocations: 93.22 kB / 1.287 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.9432, allocations: 2.812 kB / 1.287 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.9433, allocations: 10.16 kB / 1.287 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.9433, allocations: 14.88 kB / 1.287 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.9434, allocations: 3.172 kB / 1.287 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001232/0.9435, allocations: 131.3 kB / 1.288 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9435, allocations: 3.938 kB / 1.288 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002506/0.9437, allocations: 31.56 kB / 1.288 GB, free: 5.078 MB / 0.9981 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.0007176/0.9445, allocations: 0.7585 MB / 1.288 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003583/0.9448, allocations: 206.2 kB / 1.289 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9448, allocations: 0 / 1.289 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.9449, allocations: 90.11 kB / 1.289 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.9452, allocations: 16.2 kB / 1.289 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.9477, allocations: 1.971 MB / 1.291 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.948, allocations: 0.716 MB / 1.291 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.783e-05/0.9481, allocations: 29.14 kB / 1.291 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.9482, allocations: 36.02 kB / 1.291 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.9482, allocations: 0 / 1.291 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.9698, allocations: 3.229 MB / 1.294 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.624/9.594, allocations: 10.45 kB / 1.295 GB, free: 1.258 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.930418498988729]