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.001226/0.001226, allocations: 104 kB / 16.27 MB, free: 5.98 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.001235/0.001235, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.197/2.197, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 62.64 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3194, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003468/0.323, allocations: 1.414 MB / 0.9516 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002843/0.3258, allocations: 1.923 MB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.3259, allocations: 0 / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.3275, allocations: 389.9 kB / 0.9539 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.3276, allocations: 19.84 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.641e-06/0.3276, allocations: 0 / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.3279, allocations: 123.2 kB / 0.954 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.3279, allocations: 21.48 kB / 0.954 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.328, allocations: 39.81 kB / 0.9541 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3282, allocations: 63.7 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3282, allocations: 4 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.3289, allocations: 183.9 kB / 0.9543 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.3289, allocations: 35.83 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.329, allocations: 67.61 kB / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006291/0.3297, allocations: 287.1 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3297, allocations: 4 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3297, allocations: 0 / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.3297, allocations: 0 / 0.9547 GB, free: 4.293 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.0008594/0.3306, allocations: 498.5 kB / 0.9552 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3306, allocations: 12.03 kB / 0.9552 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.3308, allocations: 99.92 kB / 0.9553 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3311, allocations: 283.4 kB / 0.9556 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.3312, allocations: 150.9 kB / 0.9557 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.3313, allocations: 158.9 kB / 0.9559 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.686e-05/0.3314, allocations: 113 kB / 0.956 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.3314, allocations: 79.22 kB / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.3315, allocations: 150.6 kB / 0.9562 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/0.3315, allocations: 150.6 kB / 0.9563 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.3316, allocations: 154.5 kB / 0.9565 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.332, allocations: 0.5055 MB / 0.957 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3321, allocations: 165.1 kB / 0.9571 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3322, allocations: 88.02 kB / 0.9572 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.3322, allocations: 79.28 kB / 0.9573 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.5e-05/0.3323, allocations: 121.8 kB / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.774e-06/0.3323, allocations: 0 / 0.9574 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001999/0.3325, allocations: 45.42 kB / 0.9574 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.3326, allocations: 130.7 kB / 0.9576 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/0.333, allocations: 318.3 kB / 0.9579 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.333, allocations: 29.7 kB / 0.9579 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.3331, allocations: 116.4 kB / 0.958 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-06/0.3331, allocations: 0 / 0.958 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.3332, allocations: 69.67 kB / 0.9581 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3333, allocations: 326.8 kB / 0.9584 GB, free: 300 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3334, allocations: 67.73 kB / 0.9584 GB, free: 232 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.3335, allocations: 114 kB / 0.9586 GB, free: 96 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3339, allocations: 213.8 kB / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3339, allocations: 0 / 0.9588 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004577/0.3344, allocations: 237.2 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3344, allocations: 8 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3344, allocations: 0 / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3344, allocations: 4 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/0.3344, allocations: 0 / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3344, allocations: 8.062 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3346, allocations: 23.59 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3346, allocations: 8.219 kB / 0.959 GB, free: 15.57 MB / 0.7481 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.000201/0.3348, allocations: 233 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.3349, allocations: 128.8 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.335, allocations: 117.8 kB / 0.9595 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.215e-05/0.335, allocations: 180.3 kB / 0.9597 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-05/0.3351, allocations: 180.3 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.219e-05/0.3352, allocations: 180.2 kB / 0.96 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.3355, allocations: 449.2 kB / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-05/0.3356, allocations: 104.9 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3357, allocations: 108.9 kB / 0.9606 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.117e-05/0.3358, allocations: 184.2 kB / 0.9608 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.932e-05/0.3358, allocations: 184.2 kB / 0.961 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.265e-05/0.3359, allocations: 180.2 kB / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.765e-05/0.336, allocations: 188.1 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3362, allocations: 319.5 kB / 0.9616 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.3363, allocations: 201.8 kB / 0.9618 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.3365, allocations: 180.3 kB / 0.962 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3366, allocations: 112.9 kB / 0.9621 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.3367, allocations: 176.3 kB / 0.9623 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.3368, allocations: 105.3 kB / 0.9624 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002108/0.337, allocations: 217.9 kB / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.9e-07/0.337, allocations: 7.938 kB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004269/0.3374, allocations: 64 kB / 0.9627 GB, free: 11.64 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.0003913/0.3378, allocations: 266.4 kB / 0.9629 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3381, allocations: 103.9 kB / 0.963 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.3381, allocations: 4 kB / 0.963 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.3381, allocations: 0 / 0.963 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3385, allocations: 460.2 kB / 0.9635 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.3391, allocations: 431.2 kB / 0.9639 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.3395, allocations: 0.7392 MB / 0.9646 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.3395, allocations: 7.438 kB / 0.9646 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.3395, allocations: 0 / 0.9646 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of Templates: time 0.005247/0.3448, allocations: 2.338 MB / 0.9669 GB, free: 7.238 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