Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.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.0008939/0.0008939, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002267, allocations: 447.7 kB / 10.29 MB, free: 420 kB / 10.45 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.0009051/0.0009051, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002231, allocations: 480.2 kB / 11.64 MB, free: 2.535 MB / 13.93 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.8768/0.8768, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1394/1.016, allocations: 53.66 MB / 243.2 MB, free: 2.379 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04857/0.04857, allocations: 13.28 MB / 257.2 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007291/0.05586, allocations: 5.056 MB / 262.2 MB, free: 15.81 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/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) Ignoring simflag -noemit -emit_protected=() since the simulation runtime does not accept it Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 263.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.747e-05, allocations: 5.688 kB / 263.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval): time 0.002426/0.002443, allocations: 1.586 MB / 265.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003518, allocations: 0.5729 MB / 265.8 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.003565, allocations: 4 kB / 265.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.003582, allocations: 11.86 kB / 265.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.003694, allocations: 23.8 kB / 265.8 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.003892, allocations: 111.7 kB / 265.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.004142, allocations: 259.5 kB / 266.2 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.004183, allocations: 4 kB / 266.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.004535, allocations: 211.6 kB / 266.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.004714, allocations: 107.7 kB / 266.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.004759, allocations: 19.94 kB / 266.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.004799, allocations: 24 kB / 266.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.00485, allocations: 39.98 kB / 266.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.475e-05/0.004945, allocations: 55.94 kB / 266.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.005179, allocations: 179.5 kB / 266.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.00519, allocations: 0 / 266.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005191, allocations: 0 / 266.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.005203, allocations: 0 / 266.8 MB, free: 11.23 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009943/0.006198, allocations: 0.5582 MB / 267.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.006235, allocations: 12.03 kB / 267.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.921e-05/0.006314, allocations: 50.7 kB / 267.4 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.006453, allocations: 72.78 kB / 267.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.006555, allocations: 113.7 kB / 267.6 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.006587, allocations: 28.28 kB / 267.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.006662, allocations: 32.34 kB / 267.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006882/0.00735, allocations: 0.6069 MB / 268.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.007361, allocations: 192 / 268.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.007414, allocations: 24.09 kB / 268.3 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.007422, allocations: 4 kB / 268.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.007628, allocations: 115.9 kB / 268.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.0082, allocations: 263.6 kB / 268.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.008463, allocations: 142.5 kB / 268.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.00867, allocations: 124.8 kB / 268.9 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.008698, allocations: 7.938 kB / 268.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008301/0.009528, allocations: 0.7238 MB / 269.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.474e-06/0.00953, allocations: 4 kB / 269.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007395/0.01027, allocations: 0.5477 MB / 270.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.01032, allocations: 63.39 kB / 270.3 MB, free: 7.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.01042, allocations: 142 kB / 270.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/0.01048, allocations: 53.69 kB / 270.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.01054, allocations: 97.06 kB / 270.6 MB, free: 7.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.01062, allocations: 103.5 kB / 270.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.01074, allocations: 86.14 kB / 270.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.01084, allocations: 326.8 kB / 271.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/0.01094, allocations: 52.97 kB / 271.1 MB, free: 6.707 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.01112, allocations: 209.7 kB / 271.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.01136, allocations: 203.4 kB / 271.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01136, allocations: 0 / 271.5 MB, free: 6.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003194/0.01168, allocations: 218.5 kB / 271.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.0117, allocations: 8 kB / 271.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.0117, allocations: 0 / 271.7 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01172, allocations: 4 kB / 271.8 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.01188, allocations: 43.86 kB / 271.8 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.01189, allocations: 8 kB / 271.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.01209, allocations: 55.84 kB / 271.9 MB, free: 5.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.01211, allocations: 12 kB / 271.9 MB, free: 5.895 MB / 266.7 MB Warning: Assuming fixed start value for the following 7 variables: locked:DISCRETE(start = lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" type: Boolean valueUnderMin:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is under the minimum limit\" type: Boolean valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is above the maximum limit\" type: Boolean tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running\" type: Real tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running\" type: Real tValueInRangeWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal comes back into the [valueMin ; valueMax] range and the tap-changer/phase-shifter is running\" type: Real running:DISCRETE(start = runningStart fixed = true ) \"whether the tap-changer/phase-shifter is running\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (locked,$PRE.locked,$PRE.valueUnderMin,$PRE.valueAboveMax,$PRE.tValueUnderMinWhileRunning,$PRE.tValueAboveMaxWhileRunning,$PRE.tValueInRangeWhileRunning,$PRE.running,tValueInRangeWhileRunning,tValueAboveMaxWhileRunning,tValueUnderMinWhileRunning,valueInRange,tTapMoved,$PRE.tTapMoved,lookingToDecreaseTap,lookingToIncreaseTap,tap,$PRE.tap,state,$PRE.state,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,valueAboveMax,valueUnderMin,running) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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.0002104/0.01232, allocations: 183.7 kB / 272 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.01243, allocations: 87.83 kB / 272.1 MB, free: 5.621 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.01296, allocations: 407.3 kB / 272.5 MB, free: 5.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01297, allocations: 8 kB / 272.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.01297, allocations: 0 / 272.5 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.01297, allocations: 3.984 kB / 272.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.0132, allocations: 193.7 kB / 272.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0132, allocations: 0 / 272.7 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.038e-05/0.01327, allocations: 11.94 kB / 272.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.01328, allocations: 8.031 kB / 272.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.01334, allocations: 39.91 kB / 272.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01334, allocations: 0 / 272.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01334, allocations: 0 / 272.8 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.01385, allocations: 464.5 kB / 273.2 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.01399, allocations: 39.8 kB / 273.3 MB, free: 4.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.57e-05/0.01409, allocations: 35.95 kB / 273.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.0143, allocations: 51.92 kB / 273.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.01455, allocations: 115.7 kB / 273.5 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/0.01462, allocations: 47.94 kB / 273.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.191e-05/0.01465, allocations: 24.83 kB / 273.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01465, allocations: 0 / 273.6 MB, free: 4.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.01496, allocations: 112 kB / 273.7 MB, free: 4.039 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,state,locked,tap,lookingToIncreaseTap,lookingToDecreaseTap,tTapMoved,valueUnderMin,valueAboveMax,valueInRange,tValueUnderMinWhileRunning,tValueAboveMaxWhileRunning,tValueInRangeWhileRunning) * Number of discrete states: 9 (tValueInRangeWhileRunning,tValueAboveMaxWhileRunning,tValueUnderMinWhileRunning,tap,valueUnderMin,valueAboveMax,locked,state,tTapMoved) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002888/0.01524, allocations: 0.523 MB / 274.2 MB, free: 3.496 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.0157, allocations: 300.2 kB / 274.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.331e-06/0.01571, allocations: 0 / 274.5 MB, free: 3.199 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.016, allocations: 232.4 kB / 274.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.01624, allocations: 83.8 kB / 274.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.01822, allocations: 1.509 MB / 276.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.01828, allocations: 82.83 kB / 276.4 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001362/0.01842, allocations: 38.38 kB / 276.4 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.01875, allocations: 159.3 kB / 276.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01875, allocations: 0 / 276.6 MB, free: 1.008 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.02912/0.04787, allocations: 8.835 MB / 285.4 MB, free: 8.402 MB / 282.7 MB Notification: FMU-only work: backend 0.0001167, simCode 0.0009296, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06639/0.1143, allocations: 1.36 MB / 286.8 MB, free: 6.977 MB / 282.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.454/2.568, allocations: 15.47 kB / 286.8 MB, free: 6.965 MB / 282.7 MB " [Timeout remaining time 657] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval_fmu --startTime=0 --stopTime=80 --stepSize=0.16 --mode=me --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=80 --stepSize=0.16 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval_OMSimulator-cs-cvode.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,U,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,U,Umax,Umin,actionSel,directAction,locked,lockedStart,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode.diff.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-cvode.diff.ref.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=80 --stepSize=0.16 --mode=cs --timeout=240 --tolerance=1e-06 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval_OMSimulator-cs-euler.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,U,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,U,Umax,Umin,actionSel,directAction,locked,lockedStart,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler.diff.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_OMSimulator-cs-euler.diff.ref.mat", vars={"tap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy_res.csv --output-variables Ntap U actionSel directAction lockedStart reverseAction runningStart stateStart t1st tNext tToStandardState tap tapMax tapMin tapStart --start-time 0 --stop-time 80 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.16 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy_res.csv: Error: Error opening file: PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy_res.csv " [Timeout remaining time 660] "" Variables in the reference:Ntap,U,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time Variables in the result: filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.diff.mat", vars={}, removeDescription=false) [Timeout 660] "Error: Failed to open simulation result PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.diff.ref.mat", vars={}, removeDescription=false) [Timeout 660] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 660] Failed to write the differing variables of /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy.diff.ref.mat: "" (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 80 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.16 ../PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.fmu) > PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Ntap in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable Ntap from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable actionSel in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable actionSel from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable directAction in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable directAction from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable lockedStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable lockedStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable reverseAction in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable reverseAction from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable runningStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable runningStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable stateStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable stateStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tNext in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tNext from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tToStandardState in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tToStandardState from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tap in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tap from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tapMax in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tapMax from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tapMin in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tapMin from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable tapStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable tapStart from file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:Ntap,U,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time Variables in the result:time,U,Umax,Umin,t1st filterSimulationResults("PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.diff.mat", vars={"tapStart", "tapMin", "tapMax", "tap", "tToStandardState", "tNext", "stateStart", "runningStart", "reverseAction", "lockedStart", "directAction", "actionSel", "Ntap"}, removeDescription=false) [Timeout 660] "Error: Could not read variable tapStart in file PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 660] Failed to write the differing variables of PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"tapStart", "tapMin", "tapMax", "tap", "tToStandardState", "tNext", "stateStart", "runningStart", "reverseAction", "lockedStart", "directAction", "actionSel", "Ntap"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.194939415901899]