Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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_med,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_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,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_med") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001228, allocations: 92.55 kB / 16.02 MB, free: 80 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.001735/0.001735, allocations: 177 kB / 16.92 MB, free: 6.652 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.199 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.418/2.418, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 8.281 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.705/0.7054, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001424/0.7069, allocations: 1.14 MB / 0.9568 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.7095, allocations: 2.604 MB / 0.9594 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.7095, allocations: 0 / 0.9594 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.7108, allocations: 0.5507 MB / 0.9599 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.7109, allocations: 24.38 kB / 0.9599 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.7109, allocations: 0 / 0.9599 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.7111, allocations: 169.8 kB / 0.9601 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.7112, allocations: 34.41 kB / 0.9601 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.7113, allocations: 58.11 kB / 0.9602 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.7114, allocations: 75.47 kB / 0.9602 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.7114, allocations: 6.75 kB / 0.9602 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.7125, allocations: 496.2 kB / 0.9607 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.7125, allocations: 39.39 kB / 0.9608 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.7127, allocations: 120.6 kB / 0.9609 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.713, allocations: 285.2 kB / 0.9611 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.713, allocations: 0 / 0.9611 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.713, allocations: 0 / 0.9611 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.713, allocations: 0.7812 kB / 0.9611 GB, free: 3.719 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.0006569/0.7137, allocations: 0.5294 MB / 0.9617 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7137, allocations: 13.59 kB / 0.9617 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.7139, allocations: 103.3 kB / 0.9618 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.7141, allocations: 309.2 kB / 0.9621 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.7141, allocations: 155.9 kB / 0.9622 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.7142, allocations: 157.8 kB / 0.9624 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.343e-05/0.7142, allocations: 105.5 kB / 0.9625 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.7142, allocations: 80.5 kB / 0.9625 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.7143, allocations: 154.5 kB / 0.9627 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.7143, allocations: 151.6 kB / 0.9628 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.7143, allocations: 150.6 kB / 0.963 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.7146, allocations: 0.5354 MB / 0.9635 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.7147, allocations: 174.1 kB / 0.9637 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.7147, allocations: 84.14 kB / 0.9638 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.7147, allocations: 76.25 kB / 0.9638 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.7148, allocations: 105.8 kB / 0.9639 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.7148, allocations: 1 kB / 0.9639 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001647/0.7149, allocations: 61.22 kB / 0.964 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.715, allocations: 127.7 kB / 0.9641 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004138/0.7154, allocations: 434.9 kB / 0.9645 GB, free: 412 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.7154, allocations: 26.67 kB / 0.9645 GB, free: 380 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.7155, allocations: 138.1 kB / 0.9647 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.7155, allocations: 0 / 0.9647 GB, free: 248 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.7156, allocations: 69.02 kB / 0.9647 GB, free: 204 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7157, allocations: 343.8 kB / 0.9651 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.7158, allocations: 99.02 kB / 0.9652 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.716, allocations: 163.7 kB / 0.9653 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.7163, allocations: 305.8 kB / 0.9656 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7164, allocations: 4 kB / 0.9656 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005348/0.7169, allocations: 328.3 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7169, allocations: 8.125 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.717, allocations: 5.062 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.717, allocations: 2.625 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-06/0.717, allocations: 1.094 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.717, allocations: 6.406 kB / 0.966 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.7172, allocations: 45 kB / 0.966 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.7172, allocations: 3.844 kB / 0.966 GB, free: 15.28 MB / 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.0002479/0.7174, allocations: 250.2 kB / 0.9662 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.7175, allocations: 123.6 kB / 0.9664 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.998e-05/0.7176, allocations: 126.2 kB / 0.9665 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.325e-05/0.7177, allocations: 177.6 kB / 0.9666 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-05/0.7178, allocations: 185.3 kB / 0.9668 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.189e-05/0.7179, allocations: 185.6 kB / 0.967 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.7182, allocations: 476.2 kB / 0.9675 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.585e-05/0.7182, allocations: 102 kB / 0.9676 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.7183, allocations: 102 kB / 0.9676 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.009e-05/0.7184, allocations: 181.6 kB / 0.9678 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/0.7184, allocations: 184.2 kB / 0.968 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.866e-05/0.7185, allocations: 193.5 kB / 0.9682 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.17e-05/0.7186, allocations: 177.8 kB / 0.9684 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.7188, allocations: 325.4 kB / 0.9687 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.7189, allocations: 204.2 kB / 0.9689 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.713e-05/0.719, allocations: 190.1 kB / 0.969 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.7191, allocations: 106.1 kB / 0.9691 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.7192, allocations: 181.2 kB / 0.9693 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/0.7193, allocations: 106 kB / 0.9694 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002584/0.7195, allocations: 282 kB / 0.9697 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7195, allocations: 0 / 0.9697 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003906/0.7199, allocations: 76.03 kB / 0.9698 GB, free: 11.48 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.0003756/0.7203, allocations: 303.5 kB / 0.97 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.7206, allocations: 164.7 kB / 0.9702 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7206, allocations: 0 / 0.9702 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.7206, allocations: 0 / 0.9702 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.7211, allocations: 0.5295 MB / 0.9707 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007203/0.7218, allocations: 0.574 MB / 0.9713 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.7221, allocations: 0.7797 MB / 0.972 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.7222, allocations: 7.438 kB / 0.972 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.7222, allocations: 0 / 0.972 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.005222/0.7274, allocations: 3.018 MB / 0.975 GB, free: 7.918 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches