Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.00127, allocations: 102.3 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001938, allocations: 197.3 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 62.34 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3076, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003026/0.3106, allocations: 1.456 MB / 0.9512 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002428/0.3131, allocations: 1.916 MB / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.3132, allocations: 0 / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.3146, allocations: 374.1 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.3146, allocations: 19.91 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.039e-06/0.3146, allocations: 0 / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3149, allocations: 119.2 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.383e-05/0.3149, allocations: 17.5 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.315, allocations: 47.81 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3152, allocations: 71.64 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3152, allocations: 0 / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.3158, allocations: 179.9 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.3159, allocations: 31.84 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.316, allocations: 71.59 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.3163, allocations: 207.5 kB / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3163, allocations: 0 / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3163, allocations: 0 / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.3164, allocations: 4 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008573/0.3172, allocations: 498.5 kB / 0.9546 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3173, allocations: 8.031 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.3175, allocations: 103.9 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.3177, allocations: 283.4 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.3178, allocations: 150.9 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.3179, allocations: 162.9 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.318, allocations: 109 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.318, allocations: 79.22 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.3181, allocations: 150.6 kB / 0.9556 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-05/0.3182, allocations: 154.5 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/0.3182, allocations: 158.6 kB / 0.9559 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.3186, allocations: 0.4977 MB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3188, allocations: 173.1 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.3188, allocations: 84.12 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.3189, allocations: 79.28 kB / 0.9567 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.3189, allocations: 113.8 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3189, allocations: 0 / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001983/0.3191, allocations: 49.42 kB / 0.9569 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.3192, allocations: 126.7 kB / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.3196, allocations: 318.3 kB / 0.9573 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3196, allocations: 25.7 kB / 0.9573 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.3197, allocations: 120.4 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.3197, allocations: 0 / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.3198, allocations: 65.67 kB / 0.9575 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3199, allocations: 330.8 kB / 0.9578 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3201, allocations: 75.72 kB / 0.9579 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3202, allocations: 125.7 kB / 0.958 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.3205, allocations: 209.8 kB / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.3205, allocations: 4 kB / 0.9582 GB, free: 296 kB / 0.7325 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004527/0.321, allocations: 233.2 kB / 0.9585 GB, free: 56 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.321, allocations: 4 kB / 0.9585 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.321, allocations: 4 kB / 0.9585 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.321, allocations: 0 / 0.9585 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-06/0.321, allocations: 4.219 kB / 0.9585 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.321, allocations: 4 kB / 0.9585 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.3212, allocations: 27.59 kB / 0.9585 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3212, allocations: 4 kB / 0.9585 GB, free: 8 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002803/0.3215, allocations: 229 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-05/0.3216, allocations: 124.7 kB / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.3216, allocations: 121.8 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.773e-05/0.3217, allocations: 184.3 kB / 0.9591 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.89e-05/0.3218, allocations: 176.3 kB / 0.9593 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-05/0.3219, allocations: 184.2 kB / 0.9595 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.3222, allocations: 453.1 kB / 0.9599 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.028e-05/0.3222, allocations: 104.9 kB / 0.96 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.3223, allocations: 112.9 kB / 0.9601 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.872e-05/0.3224, allocations: 180.3 kB / 0.9603 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-05/0.3225, allocations: 184.2 kB / 0.9605 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.592e-05/0.3226, allocations: 176.3 kB / 0.9606 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-05/0.3227, allocations: 180.2 kB / 0.9608 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3229, allocations: 327.5 kB / 0.9611 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.323, allocations: 197.8 kB / 0.9613 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.3231, allocations: 184.2 kB / 0.9615 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.3232, allocations: 104.9 kB / 0.9616 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.3233, allocations: 180.3 kB / 0.9618 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3234, allocations: 108.9 kB / 0.9619 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002053/0.3236, allocations: 221.9 kB / 0.9621 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3236, allocations: 0 / 0.9621 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003739/0.324, allocations: 56 kB / 0.9621 GB, free: 12.09 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003612/0.3243, allocations: 281 kB / 0.9624 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3245, allocations: 103.9 kB / 0.9625 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3245, allocations: 0 / 0.9625 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.3245, allocations: 0 / 0.9625 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.325, allocations: 464.7 kB / 0.9629 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.3257, allocations: 458.7 kB / 0.9634 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.3261, allocations: 0.7353 MB / 0.9641 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.3262, allocations: 7.438 kB / 0.9641 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.3262, allocations: 0 / 0.9641 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of Templates: time 0.0059/0.3321, allocations: 2.34 MB / 0.9664 GB, free: 7.652 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches