Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.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.001052/0.001052, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002548, 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.001127/0.001127, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002469, 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.8939/0.8939, allocations: 177.1 MB / 189.5 MB, free: 3.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2305/1.124, allocations: 53.66 MB / 243.2 MB, free: 2.352 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.29/2.29, allocations: 440.5 MB / 0.6684 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.7333/3.024, allocations: 143.9 MB / 0.8088 GB, free: 6.254 MB / 0.7761 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8101 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.675e-05, allocations: 4.984 kB / 0.8101 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.007422/0.007449, allocations: 3.542 MB / 0.8135 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004351/0.0118, allocations: 1.627 MB / 0.8151 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.01232, allocations: 12.62 kB / 0.8151 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000733/0.01306, allocations: 155.9 kB / 0.8153 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008814/0.01394, allocations: 309.7 kB / 0.8156 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.01516, allocations: 412.9 kB / 0.816 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.01659, allocations: 0.8619 MB / 0.8168 GB, free: 100 kB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009294/0.01752, allocations: 467.8 kB / 0.8173 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009773/0.01849, allocations: 0.523 MB / 0.8178 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.01921, allocations: 332.1 kB / 0.8181 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.01936, allocations: 65.59 kB / 0.8181 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009563/0.02032, allocations: 248.3 kB / 0.8184 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.0206, allocations: 176.9 kB / 0.8185 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.02093, allocations: 187.9 kB / 0.8187 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.02205, allocations: 0.5641 MB / 0.8193 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.02e-05/0.02208, allocations: 2.125 kB / 0.8193 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.675e-06/0.02208, allocations: 0 / 0.8193 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.877e-05/0.02212, allocations: 0.625 kB / 0.8193 GB, free: 14.86 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001636/0.02376, allocations: 0.849 MB / 0.8201 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.02382, allocations: 9.5 kB / 0.8201 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.02392, allocations: 94.92 kB / 0.8202 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.02455, allocations: 229.6 kB / 0.8204 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.02514, allocations: 333.8 kB / 0.8207 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.0252, allocations: 37.86 kB / 0.8208 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.424e-05/0.02528, allocations: 58.61 kB / 0.8208 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.02604, allocations: 0.5143 MB / 0.8213 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.02606, allocations: 192 / 0.8213 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.0261, allocations: 26.95 kB / 0.8214 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.07e-05/0.02618, allocations: 53.03 kB / 0.8214 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.02653, allocations: 165.5 kB / 0.8216 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.02875, allocations: 1.574 MB / 0.8231 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.02922, allocations: 251.5 kB / 0.8234 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.02935, allocations: 79.53 kB / 0.8234 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/0.02958, allocations: 41.97 kB / 0.8235 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006173/0.0302, allocations: 259.7 kB / 0.8237 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=46): time 5.2e-06/0.0302, allocations: 1.719 kB / 0.8237 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=46): time 0.0005747/0.03078, allocations: 251.8 kB / 0.824 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.03083, allocations: 82.17 kB / 0.824 GB, free: 11.32 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.03115, allocations: 332 kB / 0.8244 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.0312, allocations: 48.69 kB / 0.8244 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.03137, allocations: 249.5 kB / 0.8246 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.03149, allocations: 157.8 kB / 0.8248 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.03163, allocations: 94.61 kB / 0.8249 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.03175, allocations: 362 kB / 0.8252 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.03191, allocations: 95.09 kB / 0.8253 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.0321, allocations: 209 kB / 0.8255 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.03246, allocations: 285 kB / 0.8258 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.03247, allocations: 1.188 kB / 0.8258 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000514/0.03298, allocations: 353.3 kB / 0.8261 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.03305, allocations: 37.11 kB / 0.8262 GB, free: 9.645 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.03306, allocations: 6.906 kB / 0.8262 GB, free: 9.641 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.03308, allocations: 6.188 kB / 0.8262 GB, free: 9.641 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.0335, allocations: 105.6 kB / 0.8263 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.03351, allocations: 14.55 kB / 0.8263 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.03377, allocations: 53.81 kB / 0.8263 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.03381, allocations: 22.92 kB / 0.8264 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002373/0.03405, allocations: 174.9 kB / 0.8265 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001836/0.03423, allocations: 200.6 kB / 0.8267 GB, free: 9.254 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002986/0.03453, allocations: 280.3 kB / 0.827 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.03453, allocations: 0.9688 kB / 0.827 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.000394/0.03493, allocations: 345.9 kB / 0.8273 GB, free: 8.637 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.03496, allocations: 30.48 kB / 0.8273 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.03497, allocations: 4 kB / 0.8273 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.03498, allocations: 8.438 kB / 0.8274 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.03525, allocations: 113.3 kB / 0.8275 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.03526, allocations: 4 kB / 0.8275 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.03546, allocations: 43.77 kB / 0.8275 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.03548, allocations: 17.25 kB / 0.8275 GB, free: 8.418 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 (bat_ideal.cha.overCharged,$PRE.bat_ideal.cha.overCharged,bat_ideal.cha.underCharged,$PRE.bat_ideal.cha.underCharged,$whenCondition2,bat_loss_acdc.cha.overCharged,$PRE.bat_loss_acdc.cha.overCharged,bat_loss_acdc.cha.underCharged,$PRE.bat_loss_acdc.cha.underCharged,$whenCondition3,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,$whenCondition4,pow.count,$PRE.pow.count,pow.T_start,$PRE.pow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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 prepare postOptimizeDAE: time 0.0002049/0.03568, allocations: 222.3 kB / 0.8277 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.03575, allocations: 49.05 kB / 0.8278 GB, free: 8.148 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.03616, allocations: 264.5 kB / 0.828 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.03617, allocations: 4 kB / 0.828 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.03617, allocations: 0.7812 kB / 0.828 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.03618, allocations: 0 / 0.828 GB, free: 7.879 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.03667, allocations: 364.8 kB / 0.8284 GB, free: 7.492 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.03667, allocations: 7.938 kB / 0.8284 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.03697, allocations: 75.89 kB / 0.8285 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.03697, allocations: 4.688 kB / 0.8285 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.037, allocations: 15.98 kB / 0.8285 GB, free: 7.391 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.03701, allocations: 5.156 kB / 0.8285 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.03701, allocations: 0 / 0.8285 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.03748, allocations: 321.7 kB / 0.8288 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.03763, allocations: 76.16 kB / 0.8289 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.03768, allocations: 12 kB / 0.8289 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.03782, allocations: 24.83 kB / 0.8289 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.03792, allocations: 43.86 kB / 0.8289 GB, free: 6.902 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.03795, allocations: 20.92 kB / 0.829 GB, free: 6.883 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001307/0.03808, allocations: 132.7 kB / 0.8291 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03808, allocations: 0.5 kB / 0.8291 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006303/0.03871, allocations: 271.3 kB / 0.8294 GB, free: 6.488 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bat_ideal.cha.SOC,bat_loss_acdc.cha.SOC,bat.cha.SOC) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,pow.T_start,pow.count,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of discrete states: 7 (pow.count,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007894/0.0395, allocations: 0.813 MB / 0.8301 GB, free: 5.645 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0007554/0.04025, allocations: 0.5495 MB / 0.8307 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/0.04027, allocations: 4 kB / 0.8307 GB, free: 5.055 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.04042, allocations: 117.7 kB / 0.8308 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.04095, allocations: 182.4 kB / 0.831 GB, free: 4.77 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/0.04452, allocations: 2.574 MB / 0.8335 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.04464, allocations: 154.8 kB / 0.8336 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003539/0.04499, allocations: 86.8 kB / 0.8337 GB, free: 1.832 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.04542, allocations: 322.5 kB / 0.834 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of SimCode: time 3.427e-06/0.04543, allocations: 0 / 0.834 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of FMU documentation: time 0.04571/0.09113, allocations: 17.14 MB / 0.8508 GB, free: 0.832 MB / 0.8074 GB Notification: FMU-only work: backend 0.0005289, simCode 0.001353, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06788/0.159, allocations: 1.366 MB / 0.8521 GB, free: 15.4 MB / 0.823 GB 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.617/2.776, allocations: 17.81 kB / 0.8521 GB, free: 15.39 MB / 0.823 GB " [Timeout remaining time 297] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.fmu) > Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery_OMSimulator-cs-cvode.fmu) > Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-euler.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery_OMSimulator-cs-euler.fmu) > Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy_res.csv --output-variables bat_loss_acdc.SOC bat_ideal.SOC bat.SOC --start-time 0 --stop-time 3600 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.fmu) > Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 3600 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 1.44 ../Buildings_latest_Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery_fmpy-fmi3-cs-cvode.fmu) > Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bat_loss_acdc.SOC in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat_loss_acdc.SOC from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bat_ideal.SOC in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat_ideal.SOC from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv failed! Error: Could not read variable bat.SOC in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable bat.SOC from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,bat_loss_acdc.SOC,bat_ideal.SOC,bat.SOC Variables in the result:time,bat.cha.SOC,bat_ideal.cha.SOC,bat_loss_acdc.cha.SOC filterSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.diff.mat", vars={"bat.SOC", "bat_ideal.SOC", "bat_loss_acdc.SOC"}, removeDescription=false) [Timeout 300] "Error: Could not read variable bat.SOC in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 300] Failed to write the differing variables of Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Storage_Examples_AcBattery.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={"bat.SOC", "bat_ideal.SOC", "bat_loss_acdc.SOC"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 8.471165618859231]