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.001651/0.001651, allocations: 105 kB / 16.35 MB, free: 5.824 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.001888/0.001888, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.398/2.398, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 66.73 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3119, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003052/0.315, allocations: 1.412 MB / 0.9525 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003423/0.3185, allocations: 2.666 MB / 0.9551 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.3186, allocations: 0 / 0.9551 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.3203, allocations: 0.5866 MB / 0.9557 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.3204, allocations: 27.84 kB / 0.9557 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.464e-06/0.3204, allocations: 0 / 0.9557 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.3207, allocations: 158.9 kB / 0.9558 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.216e-05/0.3208, allocations: 32.41 kB / 0.9559 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.3209, allocations: 63.7 kB / 0.9559 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3211, allocations: 75.59 kB / 0.956 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3211, allocations: 0 / 0.956 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.3223, allocations: 475.3 kB / 0.9565 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-05/0.3224, allocations: 39.83 kB / 0.9565 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3225, allocations: 95.36 kB / 0.9566 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.3233, allocations: 434.2 kB / 0.957 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3233, allocations: 8 kB / 0.957 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.427e-06/0.3233, allocations: 0 / 0.957 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3233, allocations: 0 / 0.957 GB, free: 2.004 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.001025/0.3243, allocations: 0.5527 MB / 0.9576 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3244, allocations: 12.02 kB / 0.9576 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.3246, allocations: 99.94 kB / 0.9577 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.3249, allocations: 298.4 kB / 0.9579 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.903e-05/0.325, allocations: 162.9 kB / 0.9581 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.3251, allocations: 154.9 kB / 0.9582 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.885e-05/0.3252, allocations: 101.5 kB / 0.9583 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/0.3253, allocations: 79.45 kB / 0.9584 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.3254, allocations: 154.5 kB / 0.9586 GB, free: 316 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.3255, allocations: 158.6 kB / 0.9587 GB, free: 156 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.3256, allocations: 154.5 kB / 0.9589 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.3262, allocations: 0.5289 MB / 0.9594 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.3263, allocations: 169.1 kB / 0.9595 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.3264, allocations: 84.14 kB / 0.9596 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.3264, allocations: 79.28 kB / 0.9597 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.28e-05/0.3265, allocations: 113.7 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3265, allocations: 0 / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0002241/0.3267, allocations: 61.25 kB / 0.9599 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.3268, allocations: 126.7 kB / 0.96 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.3273, allocations: 433.2 kB / 0.9604 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3274, allocations: 29.7 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.726e-05/0.3275, allocations: 128.5 kB / 0.9606 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.3275, allocations: 4 kB / 0.9606 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.3276, allocations: 93.66 kB / 0.9606 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3277, allocations: 338.8 kB / 0.961 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.3278, allocations: 96.5 kB / 0.9611 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.328, allocations: 169.2 kB / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.3283, allocations: 297.7 kB / 0.9615 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3283, allocations: 4 kB / 0.9615 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005012/0.3289, allocations: 328.9 kB / 0.9618 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3289, allocations: 10.03 kB / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3289, allocations: 4.156 kB / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3289, allocations: 8 kB / 0.9618 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.3289, allocations: 0 / 0.9618 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3289, allocations: 4 kB / 0.9618 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.3291, allocations: 43.38 kB / 0.9619 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3291, allocations: 15.86 kB / 0.9619 GB, free: 12.71 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.0002412/0.3294, allocations: 250.9 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.3295, allocations: 120.6 kB / 0.9623 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.3295, allocations: 118.9 kB / 0.9624 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.755e-05/0.3296, allocations: 184.2 kB / 0.9625 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.483e-05/0.3297, allocations: 184.2 kB / 0.9627 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.972e-05/0.3298, allocations: 184.2 kB / 0.9629 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.3302, allocations: 469.2 kB / 0.9633 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.406e-05/0.3303, allocations: 109 kB / 0.9635 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.3303, allocations: 108.9 kB / 0.9636 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.3304, allocations: 176.3 kB / 0.9637 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.444e-05/0.3305, allocations: 188.1 kB / 0.9639 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.693e-05/0.3306, allocations: 176.5 kB / 0.9641 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001057/0.3307, allocations: 184.2 kB / 0.9642 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.331, allocations: 323.6 kB / 0.9646 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.3311, allocations: 209.6 kB / 0.9648 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.3312, allocations: 180.2 kB / 0.9649 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3314, allocations: 104.9 kB / 0.965 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.3315, allocations: 192.2 kB / 0.9652 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.3316, allocations: 101 kB / 0.9653 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003077/0.3319, allocations: 275.1 kB / 0.9656 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3319, allocations: 0 / 0.9656 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000491/0.3324, allocations: 88 kB / 0.9657 GB, free: 8.648 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.0004517/0.3329, allocations: 302.3 kB / 0.9659 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.3331, allocations: 164.2 kB / 0.9661 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3331, allocations: 4.125 kB / 0.9661 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.3331, allocations: 4 kB / 0.9661 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.3336, allocations: 469.1 kB / 0.9666 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.3342, allocations: 0.4909 MB / 0.967 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3346, allocations: 0.782 MB / 0.9678 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.309e-05/0.3346, allocations: 0 / 0.9678 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.3347, allocations: 11.44 kB / 0.9678 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of SimCode: time 1.854e-06/0.3347, allocations: 0 / 0.9678 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of Templates: time 0.006844/0.3415, allocations: 3.077 MB / 0.9708 GB, free: 3.305 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 -s cvode -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