Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.00107/0.00107, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001408/0.001408, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.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.564/2.564, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8014, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002899/0.8044, allocations: 1.099 MB / 0.9555 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003738/0.8082, allocations: 1.758 MB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.8083, allocations: 1.031 kB / 0.9572 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.8097, allocations: 354.1 kB / 0.9576 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.8098, allocations: 20.16 kB / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.538e-06/0.8098, allocations: 0 / 0.9576 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.8101, allocations: 131.6 kB / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.8102, allocations: 17.44 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.8102, allocations: 42.77 kB / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.8104, allocations: 70.2 kB / 0.9578 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.8104, allocations: 1.406 kB / 0.9578 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.811, allocations: 172.2 kB / 0.958 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.811, allocations: 33.3 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.167e-05/0.8111, allocations: 53.45 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.8114, allocations: 206.1 kB / 0.9583 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.8114, allocations: 0 / 0.9583 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.356e-06/0.8114, allocations: 1.031 kB / 0.9583 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.8114, allocations: 4 kB / 0.9583 GB, free: 4.848 MB / 0.7169 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.0006586/0.8121, allocations: 479.7 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8121, allocations: 9.438 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.8123, allocations: 100.2 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.8125, allocations: 284.8 kB / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.8125, allocations: 156.1 kB / 0.9593 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.8125, allocations: 156.1 kB / 0.9594 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.528e-05/0.8126, allocations: 106.3 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.8126, allocations: 75.28 kB / 0.9596 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.8126, allocations: 150.6 kB / 0.9597 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.8127, allocations: 151.9 kB / 0.9599 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.8127, allocations: 158.5 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.813, allocations: 0.505 MB / 0.9605 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.813, allocations: 170.5 kB / 0.9607 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.8131, allocations: 84.14 kB / 0.9608 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.8131, allocations: 80.66 kB / 0.9608 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.8131, allocations: 109.8 kB / 0.9609 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.8131, allocations: 3.938 kB / 0.9609 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001533/0.8133, allocations: 44.52 kB / 0.961 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.8133, allocations: 130.7 kB / 0.9611 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.8136, allocations: 313.5 kB / 0.9614 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.8136, allocations: 31.08 kB / 0.9614 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.8137, allocations: 123.2 kB / 0.9616 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.8137, allocations: 0 / 0.9616 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.8137, allocations: 1.375 kB / 0.9616 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.8138, allocations: 332.3 kB / 0.9619 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.8139, allocations: 67.36 kB / 0.9619 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.814, allocations: 121.6 kB / 0.9621 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.8141, allocations: 91.94 kB / 0.9621 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8141, allocations: 0 / 0.9621 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003984/0.8145, allocations: 232.1 kB / 0.9624 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.8146, allocations: 6.75 kB / 0.9624 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8146, allocations: 1.125 kB / 0.9624 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8146, allocations: 2.5 kB / 0.9624 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-06/0.8146, allocations: 6.016 kB / 0.9624 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8146, allocations: 2.938 kB / 0.9624 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.8148, allocations: 33.78 kB / 0.9624 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.8148, allocations: 3.562 kB / 0.9624 GB, free: 0.8633 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.815, allocations: 231.2 kB / 0.9626 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.8151, allocations: 119.3 kB / 0.9628 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.8151, allocations: 109 kB / 0.9629 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/0.8152, allocations: 184.9 kB / 0.963 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.673e-05/0.8152, allocations: 182 kB / 0.9632 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/0.8153, allocations: 181.2 kB / 0.9634 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.8157, allocations: 453.3 kB / 0.9638 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.666e-05/0.8157, allocations: 110.3 kB / 0.9639 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.8158, allocations: 104.9 kB / 0.964 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.789e-05/0.8159, allocations: 185.4 kB / 0.9642 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.816, allocations: 181.9 kB / 0.9644 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.803e-05/0.8161, allocations: 181.2 kB / 0.9645 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-05/0.8162, allocations: 181.2 kB / 0.9647 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.8164, allocations: 320.1 kB / 0.965 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.8165, allocations: 203.5 kB / 0.9652 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.8167, allocations: 185.4 kB / 0.9654 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.8168, allocations: 105.7 kB / 0.9655 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.8169, allocations: 181.8 kB / 0.9657 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.817, allocations: 105.7 kB / 0.9658 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002726/0.8173, allocations: 214.7 kB / 0.966 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8173, allocations: 0 / 0.966 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005067/0.8178, allocations: 63.25 kB / 0.966 GB, free: 13.15 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004217/0.8182, allocations: 270.4 kB / 0.9663 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.8184, allocations: 105.8 kB / 0.9664 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8184, allocations: 3.938 kB / 0.9664 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.8185, allocations: 0 / 0.9664 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.8189, allocations: 0.5346 MB / 0.9669 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.8195, allocations: 416 kB / 0.9673 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.8198, allocations: 0.7391 MB / 0.968 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.8198, allocations: 7.078 kB / 0.968 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.8198, allocations: 9.469 kB / 0.968 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8198, allocations: 0 / 0.968 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of Templates: time 0.005802/0.8256, allocations: 2.189 MB / 0.9702 GB, free: 10.14 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches