Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001571/0.001571, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001473/0.001473, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 469.8 MB / 0.7427 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 71.56 kB / 0.9087 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3044, allocations: 159.2 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002774/0.3072, allocations: 1.48 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.311, allocations: 2.632 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.3111, allocations: 0 / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.3136, allocations: 0.5609 MB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.3137, allocations: 11.92 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.45e-06/0.3137, allocations: 4 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.314, allocations: 163 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.967e-05/0.3141, allocations: 28.41 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.3142, allocations: 63.72 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.3143, allocations: 87.53 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3143, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.3155, allocations: 495.2 kB / 1.07 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.3155, allocations: 39.77 kB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3157, allocations: 95.42 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.3161, allocations: 302.7 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3161, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3161, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3161, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 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.0008369/0.3169, allocations: 0.5451 MB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.317, allocations: 12.03 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.3172, allocations: 95.94 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.3174, allocations: 306.2 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.3175, allocations: 154.9 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.064e-05/0.3176, allocations: 154.9 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/0.3177, allocations: 105.5 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.608e-05/0.3178, allocations: 75.47 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.3178, allocations: 158.5 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/0.3179, allocations: 154.6 kB / 1.072 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.318, allocations: 150.6 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3184, allocations: 0.5366 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.3185, allocations: 169.1 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.3186, allocations: 80.14 kB / 1.073 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.3187, allocations: 75.28 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.3187, allocations: 105.8 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3187, allocations: 4 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001854/0.3189, allocations: 61.28 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.319, allocations: 130.7 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.3195, allocations: 433.2 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.3195, allocations: 25.7 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3196, allocations: 136.5 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.3196, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.3197, allocations: 89.66 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3199, allocations: 342.8 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.32, allocations: 104.4 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.3202, allocations: 157.3 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.3206, allocations: 305.6 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3206, allocations: 0 / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005185/0.3211, allocations: 332.9 kB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3211, allocations: 11.94 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3211, allocations: 3.938 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3212, allocations: 4 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.3212, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3212, allocations: 4 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3213, allocations: 47.27 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3214, allocations: 4.219 kB / 1.075 GB, free: 3.371 MB / 0.8262 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.0002877/0.3216, allocations: 249 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.3217, allocations: 120.6 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.3218, allocations: 118.9 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.854e-05/0.3219, allocations: 188.2 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.545e-05/0.322, allocations: 180.3 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.061e-05/0.3221, allocations: 176.3 kB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.3224, allocations: 477.1 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/0.3225, allocations: 105 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.3226, allocations: 108.9 kB / 1.076 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.093e-05/0.3227, allocations: 184.2 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.3228, allocations: 192.4 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.553e-05/0.3228, allocations: 180.2 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.644e-05/0.3229, allocations: 184.3 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3231, allocations: 327.4 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3233, allocations: 201.8 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3234, allocations: 184.1 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.3235, allocations: 105 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.3236, allocations: 184.2 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.3237, allocations: 101 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003027/0.324, allocations: 279.1 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.324, allocations: 0 / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003916/0.3244, allocations: 84 kB / 1.079 GB, free: 15.3 MB / 0.8419 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.0004051/0.3248, allocations: 296.2 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3251, allocations: 163.8 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3251, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3251, allocations: 0 / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.3256, allocations: 471.4 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.3263, allocations: 0.5629 MB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.3267, allocations: 0.7782 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.3268, allocations: 7.438 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3268, allocations: 3.938 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.005118/0.3319, allocations: 3.057 MB / 1.084 GB, free: 9.918 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches