Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_low,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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,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_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001519/0.001519, allocations: 191.8 kB / 16.14 MB, free: 6.676 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.949/2.949, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002521/0.002521, allocations: 72.03 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8333, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002875/0.8363, allocations: 1.448 MB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.8389, allocations: 1.926 MB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.839, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.8401, allocations: 360.2 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.8402, allocations: 19.91 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.337e-06/0.8402, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.8405, allocations: 143.1 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.8406, allocations: 25.48 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.8406, allocations: 39.8 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.8408, allocations: 59.72 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.8408, allocations: 4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.8413, allocations: 179.9 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.8414, allocations: 35.84 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.8416, allocations: 71.59 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.8422, allocations: 292.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.8422, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.067e-06/0.8422, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.8422, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 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.001046/0.8433, allocations: 494.6 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/0.8433, allocations: 15.98 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.8435, allocations: 99.94 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.8439, allocations: 291.3 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.844, allocations: 154.9 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.8442, allocations: 158.9 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.8443, allocations: 105.1 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.8444, allocations: 75.28 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.8446, allocations: 154.6 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.8447, allocations: 150.6 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.8449, allocations: 150.6 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.8456, allocations: 0.5017 MB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.8458, allocations: 173.1 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.8459, allocations: 84.14 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.8459, allocations: 79.28 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.8461, allocations: 109.8 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.8461, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001909/0.8463, allocations: 53.34 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.8464, allocations: 134.7 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.8468, allocations: 310.4 kB / 1.024 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.8468, allocations: 33.69 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.847, allocations: 116.4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.847, allocations: 0 / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.847, allocations: 61.69 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8472, allocations: 330.8 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.8473, allocations: 67.95 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.8475, allocations: 114 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.8478, allocations: 209.8 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8478, allocations: 0 / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004476/0.8482, allocations: 237.2 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.8483, allocations: 10.34 kB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8483, allocations: 0 / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.8483, allocations: 4 kB / 1.025 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-06/0.8483, allocations: 7.922 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.8483, allocations: 4 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.8484, allocations: 31.47 kB / 1.025 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.8485, allocations: 4 kB / 1.025 GB, free: 9.465 MB / 0.7794 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.0002947/0.8488, allocations: 229.3 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.8489, allocations: 132.6 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.849, allocations: 109.9 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.882e-05/0.8491, allocations: 184.2 kB / 1.026 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001167/0.8492, allocations: 180.2 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001033/0.8493, allocations: 176.3 kB / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.8497, allocations: 457.1 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.285e-05/0.8498, allocations: 109.1 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.8499, allocations: 104.9 kB / 1.027 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001084/0.85, allocations: 184.2 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8501, allocations: 176.3 kB / 1.027 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001107/0.8502, allocations: 192.2 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0002178/0.8504, allocations: 176.3 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.8507, allocations: 319.5 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.8509, allocations: 197.8 kB / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.8512, allocations: 188.2 kB / 1.028 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.8514, allocations: 109 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.8515, allocations: 184.3 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/0.8516, allocations: 108.9 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002725/0.8519, allocations: 213.9 kB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8519, allocations: 0 / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000486/0.8524, allocations: 67.98 kB / 1.029 GB, free: 5.531 MB / 0.7794 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.0005503/0.853, allocations: 266.9 kB / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.8532, allocations: 103.9 kB / 1.029 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8532, allocations: 448 / 1.029 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.8532, allocations: 4 kB / 1.029 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.8538, allocations: 0.5268 MB / 1.03 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.8546, allocations: 423 kB / 1.03 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/0.8553, allocations: 0.7473 MB / 1.031 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.8554, allocations: 4 kB / 1.031 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.8554, allocations: 7.438 kB / 1.031 GB, free: 3.391 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8554, allocations: 4 kB / 1.031 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.006289/0.8617, allocations: 2.238 MB / 1.033 GB, free: 1.156 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches