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.001378/0.001383, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.425/2.425, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 71.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9318/0.9332, allocations: 140.4 MB / 0.9496 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003123/0.9364, allocations: 1.397 MB / 0.9509 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.9385, allocations: 1.929 MB / 0.9528 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.9386, allocations: 7.938 kB / 0.9528 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.9397, allocations: 389.6 kB / 0.9532 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.9397, allocations: 21.09 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.67e-06/0.9397, allocations: 0 / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.94, allocations: 124.6 kB / 0.9533 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.9401, allocations: 18.75 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.9402, allocations: 47.25 kB / 0.9534 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.9403, allocations: 59.19 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.9403, allocations: 2.562 kB / 0.9535 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.9408, allocations: 181.4 kB / 0.9536 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.9409, allocations: 28.19 kB / 0.9537 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.941, allocations: 77.3 kB / 0.9537 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.9414, allocations: 289.6 kB / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9415, allocations: 0 / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9415, allocations: 0 / 0.954 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.9415, allocations: 1.281 kB / 0.954 GB, free: 5.945 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.0006711/0.9421, allocations: 493.1 kB / 0.9545 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9422, allocations: 9.656 kB / 0.9545 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.9423, allocations: 94.09 kB / 0.9546 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.9425, allocations: 304.7 kB / 0.9549 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.9426, allocations: 152.2 kB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.9426, allocations: 162 kB / 0.9552 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.591e-05/0.9427, allocations: 105.1 kB / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.9427, allocations: 76.34 kB / 0.9553 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.9427, allocations: 154.6 kB / 0.9555 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.9428, allocations: 152 kB / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.792e-05/0.9428, allocations: 150.6 kB / 0.9558 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.943, allocations: 0.5044 MB / 0.9563 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.9431, allocations: 171.7 kB / 0.9564 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.9431, allocations: 80.14 kB / 0.9565 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.9431, allocations: 79.28 kB / 0.9566 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.9432, allocations: 111.2 kB / 0.9567 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.9432, allocations: 0 / 0.9567 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001654/0.9434, allocations: 51.28 kB / 0.9567 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.9434, allocations: 135.7 kB / 0.9569 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.9437, allocations: 316.1 kB / 0.9572 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.9437, allocations: 29.7 kB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.9438, allocations: 115.8 kB / 0.9573 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.9438, allocations: 0 / 0.9573 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.9439, allocations: 60.25 kB / 0.9574 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.9439, allocations: 333 kB / 0.9577 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.944, allocations: 68.67 kB / 0.9578 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.9442, allocations: 122.1 kB / 0.9579 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.9444, allocations: 212.2 kB / 0.9581 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.9444, allocations: 1.344 kB / 0.9581 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004111/0.9448, allocations: 234 kB / 0.9583 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9448, allocations: 9.562 kB / 0.9583 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.9449, allocations: 1.406 kB / 0.9583 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.9449, allocations: 2.531 kB / 0.9583 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-06/0.9449, allocations: 13.16 kB / 0.9583 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.9449, allocations: 2.5 kB / 0.9583 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.945, allocations: 30.59 kB / 0.9584 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.945, allocations: 3.188 kB / 0.9584 GB, free: 1.809 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.0002015/0.9452, allocations: 226 kB / 0.9586 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.9453, allocations: 127.1 kB / 0.9587 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.9453, allocations: 113.5 kB / 0.9588 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.9454, allocations: 181.4 kB / 0.959 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/0.9454, allocations: 181.6 kB / 0.9591 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.9454, allocations: 176.3 kB / 0.9593 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.9456, allocations: 459 kB / 0.9598 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.9456, allocations: 101 kB / 0.9599 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.9457, allocations: 110.7 kB / 0.96 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.9457, allocations: 184.2 kB / 0.9601 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/0.9458, allocations: 177.3 kB / 0.9603 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.708e-05/0.9458, allocations: 182.2 kB / 0.9605 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.247e-05/0.9459, allocations: 184.2 kB / 0.9607 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.9461, allocations: 321.3 kB / 0.961 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.9462, allocations: 199.4 kB / 0.9611 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.9463, allocations: 180.2 kB / 0.9613 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.9464, allocations: 106.9 kB / 0.9614 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/0.9465, allocations: 190.1 kB / 0.9616 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.9466, allocations: 105 kB / 0.9617 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002215/0.9468, allocations: 212.4 kB / 0.9619 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9468, allocations: 0 / 0.9619 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000385/0.9472, allocations: 67.45 kB / 0.962 GB, free: 14.1 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.0003866/0.9476, allocations: 275.6 kB / 0.9622 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.9478, allocations: 105.2 kB / 0.9623 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9478, allocations: 0 / 0.9623 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.9478, allocations: 1.812 kB / 0.9623 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.9484, allocations: 472 kB / 0.9628 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008581/0.9492, allocations: 395.4 kB / 0.9632 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.9499, allocations: 0.743 MB / 0.9639 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.064e-05/0.95, allocations: 6.734 kB / 0.9639 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.95, allocations: 8.812 kB / 0.9639 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/0.95, allocations: 0 / 0.9639 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.007231/0.9572, allocations: 2.287 MB / 0.9661 GB, free: 11.14 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/jenkins/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