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.001916/0.001916, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.002521/0.002521, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.45 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.229/2.229, allocations: 390.3 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 61.55 kB / 0.8127 GB, free: 33.36 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002855/0.3158, allocations: 1.479 MB / 0.9512 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.3191, allocations: 2.638 MB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.3191, allocations: 0 / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.321, allocations: 0.5596 MB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.3211, allocations: 19.84 kB / 0.9543 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.1e-06/0.3211, allocations: 3.938 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.3214, allocations: 162.9 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.3215, allocations: 32.41 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.3216, allocations: 51.75 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3217, allocations: 83.58 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3217, allocations: 0 / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.3229, allocations: 0.4915 MB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.3229, allocations: 35.83 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.323, allocations: 103.3 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.3235, allocations: 290.9 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3235, allocations: 0 / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3235, allocations: 0 / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3235, allocations: 4 kB / 0.9556 GB, free: 3.23 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.0008274/0.3243, allocations: 0.5489 MB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3244, allocations: 8.031 kB / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.3246, allocations: 103.9 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.3248, allocations: 298.4 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/0.3249, allocations: 154.9 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.325, allocations: 158.9 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.3251, allocations: 105.5 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.3251, allocations: 79.41 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/0.3252, allocations: 154.5 kB / 0.9571 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.3252, allocations: 158.5 kB / 0.9573 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.3253, allocations: 154.6 kB / 0.9574 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3257, allocations: 0.5289 MB / 0.9579 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.3258, allocations: 173.1 kB / 0.9581 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.3259, allocations: 80.14 kB / 0.9582 GB, free: 400 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3259, allocations: 79.28 kB / 0.9582 GB, free: 320 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.326, allocations: 105.8 kB / 0.9583 GB, free: 204 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.326, allocations: 0 / 0.9583 GB, free: 204 kB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0002035/0.3262, allocations: 57.27 kB / 0.9584 GB, free: 140 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.3263, allocations: 134.7 kB / 0.9585 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.3267, allocations: 437.2 kB / 0.9589 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3267, allocations: 25.7 kB / 0.959 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.356e-05/0.3268, allocations: 132.5 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.3268, allocations: 4 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.3269, allocations: 85.67 kB / 0.9592 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3271, allocations: 338.8 kB / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3272, allocations: 100.5 kB / 0.9596 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3274, allocations: 165.3 kB / 0.9598 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3277, allocations: 305.6 kB / 0.96 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3277, allocations: 0 / 0.96 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005007/0.3283, allocations: 329 kB / 0.9604 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3283, allocations: 8 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3283, allocations: 3.938 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3283, allocations: 4 kB / 0.9604 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.767e-06/0.3283, allocations: 4.156 kB / 0.9604 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.3283, allocations: 8 kB / 0.9604 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.3285, allocations: 39.38 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3285, allocations: 4 kB / 0.9604 GB, free: 13.96 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.0002377/0.3287, allocations: 245 kB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.3288, allocations: 132.5 kB / 0.9608 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.3289, allocations: 122.7 kB / 0.9609 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-05/0.329, allocations: 184.3 kB / 0.9611 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.891e-05/0.329, allocations: 184.2 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-05/0.3291, allocations: 180.2 kB / 0.9614 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.3295, allocations: 484.9 kB / 0.9619 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-05/0.3295, allocations: 101 kB / 0.962 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.3295, allocations: 105 kB / 0.9621 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.218e-05/0.3296, allocations: 184.2 kB / 0.9623 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.748e-05/0.3297, allocations: 184.2 kB / 0.9624 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.521e-05/0.3298, allocations: 184.1 kB / 0.9626 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.665e-05/0.3298, allocations: 180.2 kB / 0.9628 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.33, allocations: 327.5 kB / 0.9631 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.3301, allocations: 206 kB / 0.9633 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3302, allocations: 184.1 kB / 0.9635 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3304, allocations: 105 kB / 0.9636 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.3304, allocations: 180.3 kB / 0.9637 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.3305, allocations: 112.9 kB / 0.9639 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002722/0.3308, allocations: 275.1 kB / 0.9641 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3308, allocations: 0 / 0.9641 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003826/0.3312, allocations: 83.98 kB / 0.9642 GB, free: 9.883 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.0003785/0.3316, allocations: 294.4 kB / 0.9645 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3318, allocations: 163.9 kB / 0.9646 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3318, allocations: 448 / 0.9646 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.3318, allocations: 8 kB / 0.9646 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3322, allocations: 471 kB / 0.9651 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.333, allocations: 0.5552 MB / 0.9656 GB, free: 8.367 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.3334, allocations: 0.7742 MB / 0.9664 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.3334, allocations: 7.438 kB / 0.9664 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3334, allocations: 0 / 0.9664 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of Templates: time 0.005566/0.339, allocations: 3.064 MB / 0.9694 GB, free: 4.496 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