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.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_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.001449/0.001449, allocations: 103 kB / 16.27 MB, free: 6.414 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.0015/0.0015, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.228/2.228, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 65.66 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3206, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.00311/0.3237, allocations: 1.426 MB / 0.9517 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003553/0.3273, allocations: 2.666 MB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.3274, allocations: 0 / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.3295, allocations: 0.5831 MB / 0.9548 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.3296, allocations: 19.91 kB / 0.9548 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.733e-06/0.3296, allocations: 0 / 0.9548 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.3299, allocations: 158.8 kB / 0.955 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.33, allocations: 36.41 kB / 0.955 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3301, allocations: 59.72 kB / 0.9551 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3302, allocations: 75.58 kB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3302, allocations: 4 kB / 0.9552 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.3316, allocations: 463.3 kB / 0.9556 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.3317, allocations: 39.81 kB / 0.9556 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3318, allocations: 95.38 kB / 0.9557 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008751/0.3327, allocations: 438.3 kB / 0.9562 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3327, allocations: 4 kB / 0.9562 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.506e-06/0.3328, allocations: 0 / 0.9562 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.3328, allocations: 7.938 kB / 0.9562 GB, free: 2.785 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.0008816/0.3337, allocations: 0.5489 MB / 0.9567 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3337, allocations: 8.031 kB / 0.9567 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3339, allocations: 103.9 kB / 0.9568 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3342, allocations: 298.4 kB / 0.9571 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.3342, allocations: 154.9 kB / 0.9572 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.3343, allocations: 162.9 kB / 0.9574 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.495e-05/0.3344, allocations: 101.5 kB / 0.9575 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.3344, allocations: 75.47 kB / 0.9576 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.3345, allocations: 158.5 kB / 0.9577 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-05/0.3346, allocations: 158.5 kB / 0.9579 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.3346, allocations: 154.6 kB / 0.958 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.335, allocations: 0.5289 MB / 0.9585 GB, free: 212 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.139e-05/0.3351, allocations: 173.1 kB / 0.9587 GB, free: 28 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.3352, allocations: 80.14 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.3353, allocations: 79.28 kB / 0.9588 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.3353, allocations: 105.8 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3353, allocations: 0 / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001977/0.3355, allocations: 61.2 kB / 0.959 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.3356, allocations: 134.7 kB / 0.9591 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.3361, allocations: 433.2 kB / 0.9595 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3361, allocations: 25.7 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.3362, allocations: 132.5 kB / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/0.3362, allocations: 4 kB / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.3363, allocations: 85.67 kB / 0.9598 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3364, allocations: 338.8 kB / 0.9601 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3366, allocations: 100.5 kB / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3367, allocations: 161.3 kB / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.3371, allocations: 309.6 kB / 0.9607 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3371, allocations: 0 / 0.9607 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005164/0.3376, allocations: 325 kB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3376, allocations: 14.59 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.3377, allocations: 3.938 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3377, allocations: 7.938 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.3377, allocations: 224 / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3377, allocations: 8 kB / 0.961 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3379, allocations: 39.38 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3379, allocations: 7.938 kB / 0.961 GB, free: 13.51 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.0002615/0.3381, allocations: 245 kB / 0.9613 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.3382, allocations: 136.5 kB / 0.9614 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.3383, allocations: 122.7 kB / 0.9615 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.191e-05/0.3384, allocations: 184.3 kB / 0.9617 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-05/0.3385, allocations: 180.2 kB / 0.9619 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.508e-05/0.3385, allocations: 184.3 kB / 0.962 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.3389, allocations: 477.1 kB / 0.9625 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.902e-05/0.3389, allocations: 101 kB / 0.9626 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.339, allocations: 108.9 kB / 0.9627 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.438e-05/0.339, allocations: 180.3 kB / 0.9629 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-05/0.3391, allocations: 184.2 kB / 0.963 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.987e-05/0.3392, allocations: 184.4 kB / 0.9632 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.773e-05/0.3392, allocations: 180.3 kB / 0.9634 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3394, allocations: 327.5 kB / 0.9637 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3395, allocations: 205.7 kB / 0.9639 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.3396, allocations: 184.1 kB / 0.9641 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3398, allocations: 101 kB / 0.9642 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.3399, allocations: 184.2 kB / 0.9644 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.3399, allocations: 109 kB / 0.9645 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002741/0.3402, allocations: 275.1 kB / 0.9647 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.3402, allocations: 0 / 0.9647 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004239/0.3406, allocations: 83.98 kB / 0.9648 GB, free: 9.434 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.0003965/0.341, allocations: 310.2 kB / 0.9651 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.3413, allocations: 159.9 kB / 0.9652 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3413, allocations: 0 / 0.9652 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.3413, allocations: 4.375 kB / 0.9653 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3417, allocations: 470.3 kB / 0.9657 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.3424, allocations: 0.5239 MB / 0.9662 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3428, allocations: 0.7741 MB / 0.967 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.3428, allocations: 11.44 kB / 0.967 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.3428, allocations: 0 / 0.967 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of Templates: time 0.005739/0.3486, allocations: 3.153 MB / 0.9701 GB, free: 3.98 MB / 0.7481 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