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.001808/0.001808, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00192/0.00192, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.812 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.74/2.74, allocations: 476 MB / 0.7699 GB, free: 4.738 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.002148/0.002148, allocations: 64.67 kB / 1.117 GB, free: 41.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3032, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004066/0.3072, allocations: 2.326 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.3088, allocations: 0.8221 MB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.3089, allocations: 3.938 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.3095, allocations: 143.4 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.3097, allocations: 63.59 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3098, allocations: 63.81 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.3101, allocations: 163.5 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.3103, allocations: 85.17 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.3105, allocations: 75.7 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.3107, allocations: 63.73 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.3107, allocations: 12 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3108, allocations: 51.89 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.3109, allocations: 39.78 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.516e-05/0.3109, allocations: 51.8 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.3112, allocations: 181 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3112, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3112, allocations: 4 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3112, allocations: 3.938 kB / 1.287 GB, free: 8.363 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.00075/0.312, allocations: 429.2 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.312, allocations: 8.031 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.3121, allocations: 38.75 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.3124, allocations: 40.8 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3126, allocations: 166.8 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/0.3127, allocations: 63.53 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3127, allocations: 16 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.3131, allocations: 177.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3131, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3131, allocations: 11.94 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.3131, allocations: 4 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.3134, allocations: 113.6 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009248/0.3143, allocations: 0.5848 MB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000257/0.3145, allocations: 80.27 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.87e-05/0.3146, allocations: 54.61 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.3147, allocations: 4.188 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.3149, allocations: 176.4 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3149, allocations: 4 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004697/0.3154, allocations: 218.6 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.3155, allocations: 140.5 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3157, allocations: 180.3 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3157, allocations: 37.7 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3158, allocations: 144 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.3158, allocations: 19.84 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.3159, allocations: 41.66 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3161, allocations: 322.8 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.3162, allocations: 99.38 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.3164, allocations: 166.1 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.3167, allocations: 230.3 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3167, allocations: 0 / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004473/0.3171, allocations: 316 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.3172, allocations: 61.75 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3172, allocations: 0 / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3172, allocations: 4 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.3173, allocations: 35.92 kB / 1.29 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3173, allocations: 8 kB / 1.29 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3175, allocations: 28.12 kB / 1.29 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3175, allocations: 12 kB / 1.29 GB, free: 3.926 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.0001487/0.3177, allocations: 166.8 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3177, allocations: 19.84 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.3177, allocations: 17.39 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3177, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3177, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3177, allocations: 4 kB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3179, allocations: 172.7 kB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3179, allocations: 3.938 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.318, allocations: 12 kB / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.318, allocations: 0 / 1.291 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.318, allocations: 4 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.318, allocations: 0 / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.318, allocations: 0 / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.3185, allocations: 282 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.3185, allocations: 19.95 kB / 1.291 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.3185, allocations: 7.984 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3187, allocations: 11.98 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.3187, allocations: 12.05 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3187, allocations: 4 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001276/0.3188, allocations: 144.3 kB / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3188, allocations: 0 / 1.291 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002786/0.3191, allocations: 31.95 kB / 1.291 GB, free: 2.934 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.0007795/0.3199, allocations: 0.8207 MB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004013/0.3203, allocations: 292.5 kB / 1.292 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3203, allocations: 4 kB / 1.292 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.3205, allocations: 121 kB / 1.293 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3207, allocations: 23.92 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.3234, allocations: 2.235 MB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3235, allocations: 102.7 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.92e-05/0.3236, allocations: 24.42 kB / 1.295 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.3237, allocations: 39.42 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3237, allocations: 0 / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.3571, allocations: 3.759 MB / 1.299 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.82, allocations: 5.656 kB / 1.299 GB, free: 11.35 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.21432321704924]