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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.004913/0.004913, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001323/0.001323, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 59.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8341/0.8357, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.00244/0.8382, allocations: 1.461 MB / 0.951 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.8401, allocations: 1.906 MB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.8402, allocations: 1.219 kB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009733/0.8411, allocations: 370.5 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.8412, allocations: 19.88 kB / 0.9532 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.276e-06/0.8412, allocations: 4 kB / 0.9532 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.8414, allocations: 144.3 kB / 0.9534 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.8415, allocations: 18.88 kB / 0.9534 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.651e-05/0.8416, allocations: 38.7 kB / 0.9534 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.8417, allocations: 63.98 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.8417, allocations: 2.812 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.8422, allocations: 176.2 kB / 0.9537 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.324e-05/0.8422, allocations: 39.56 kB / 0.9537 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.8423, allocations: 69.16 kB / 0.9538 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.8426, allocations: 214.1 kB / 0.954 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8426, allocations: 0 / 0.954 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.8426, allocations: 0 / 0.954 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8426, allocations: 0 / 0.954 GB, free: 5.863 MB / 0.7169 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.0006261/0.8432, allocations: 494 kB / 0.9544 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8433, allocations: 14.47 kB / 0.9545 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.8434, allocations: 94.06 kB / 0.9545 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.8436, allocations: 299.9 kB / 0.9548 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.8436, allocations: 156.3 kB / 0.955 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.8437, allocations: 153.4 kB / 0.9551 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.73e-05/0.8437, allocations: 106.4 kB / 0.9552 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.8438, allocations: 75.28 kB / 0.9553 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.8438, allocations: 150.6 kB / 0.9554 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.8438, allocations: 155.6 kB / 0.9556 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.8439, allocations: 158.5 kB / 0.9557 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.8441, allocations: 0.5013 MB / 0.9562 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.83e-05/0.8442, allocations: 170.7 kB / 0.9564 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.8442, allocations: 84.14 kB / 0.9565 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.8443, allocations: 76.25 kB / 0.9566 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.8443, allocations: 109.8 kB / 0.9567 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.8443, allocations: 1 kB / 0.9567 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001785/0.8445, allocations: 52.28 kB / 0.9567 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.8445, allocations: 126.7 kB / 0.9568 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.8448, allocations: 323.1 kB / 0.9571 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.8448, allocations: 31.25 kB / 0.9572 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.8449, allocations: 115.5 kB / 0.9573 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.8449, allocations: 0 / 0.9573 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.845, allocations: 60.88 kB / 0.9573 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.845, allocations: 332.7 kB / 0.9577 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.8451, allocations: 67.86 kB / 0.9577 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.8452, allocations: 127.2 kB / 0.9578 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.8454, allocations: 207.8 kB / 0.958 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8455, allocations: 0 / 0.958 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003912/0.8459, allocations: 234.6 kB / 0.9583 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.8459, allocations: 5.875 kB / 0.9583 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8459, allocations: 5.375 kB / 0.9583 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8459, allocations: 6.625 kB / 0.9583 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.016e-06/0.8459, allocations: 5.516 kB / 0.9583 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8459, allocations: 2.812 kB / 0.9583 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.8461, allocations: 38.09 kB / 0.9583 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.8461, allocations: 3.438 kB / 0.9583 GB, free: 1.723 MB / 0.7169 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.0001676/0.8463, allocations: 223.4 kB / 0.9585 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.8463, allocations: 126.2 kB / 0.9587 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.8463, allocations: 109.2 kB / 0.9588 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/0.8464, allocations: 181.4 kB / 0.9589 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/0.8464, allocations: 185.4 kB / 0.9591 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.8464, allocations: 177.3 kB / 0.9593 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.8466, allocations: 457.4 kB / 0.9597 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.8466, allocations: 110.4 kB / 0.9598 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.514e-05/0.8467, allocations: 108.9 kB / 0.9599 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-05/0.8467, allocations: 177.6 kB / 0.9601 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.8468, allocations: 181.6 kB / 0.9603 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.054e-05/0.8469, allocations: 181.6 kB / 0.9604 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.599e-05/0.847, allocations: 188.2 kB / 0.9606 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.8471, allocations: 320.3 kB / 0.9609 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.8472, allocations: 199.4 kB / 0.9611 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.026e-05/0.8473, allocations: 186.4 kB / 0.9613 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.8474, allocations: 102.1 kB / 0.9614 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.8475, allocations: 185.3 kB / 0.9616 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.8476, allocations: 106 kB / 0.9617 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002129/0.8478, allocations: 213.5 kB / 0.9619 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8478, allocations: 0 / 0.9619 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000377/0.8482, allocations: 62.55 kB / 0.9619 GB, free: 14.02 MB / 0.7325 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.0003863/0.8486, allocations: 266.8 kB / 0.9622 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.8488, allocations: 105.1 kB / 0.9623 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.8488, allocations: 0 / 0.9623 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.8488, allocations: 1.781 kB / 0.9623 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.8492, allocations: 0.5383 MB / 0.9628 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.8498, allocations: 444.7 kB / 0.9632 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.8502, allocations: 0.7433 MB / 0.964 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.8502, allocations: 12.81 kB / 0.964 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.8502, allocations: 0 / 0.964 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.004356/0.8546, allocations: 2.327 MB / 0.9662 GB, free: 10.94 MB / 0.7325 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