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.002169/0.002169, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002248/0.002248, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.466/2.466, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8787/0.88, allocations: 140.4 MB / 0.9489 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003363/0.8834, allocations: 1.472 MB / 0.9504 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00314/0.8866, allocations: 2.645 MB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.8867, allocations: 0 / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.8891, allocations: 0.5508 MB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.8892, allocations: 25.62 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.671e-06/0.8892, allocations: 0 / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.8895, allocations: 170.5 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.8896, allocations: 33.78 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.8898, allocations: 53.56 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.89, allocations: 80.73 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.89, allocations: 1.656 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.8918, allocations: 493 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.8919, allocations: 40.27 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.8921, allocations: 89.72 kB / 0.9544 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.8931, allocations: 400.5 kB / 0.9548 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.8931, allocations: 0 / 0.9548 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8931, allocations: 2.656 kB / 0.9548 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.8932, allocations: 4 kB / 0.9548 GB, free: 4.961 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.0009726/0.8941, allocations: 0.5399 MB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.8942, allocations: 10.31 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.8944, allocations: 102.8 kB / 0.9554 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.8946, allocations: 310.2 kB / 0.9557 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.8947, allocations: 152.7 kB / 0.9559 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.8947, allocations: 156.7 kB / 0.956 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.567e-05/0.8948, allocations: 105.5 kB / 0.9561 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.8948, allocations: 75.47 kB / 0.9562 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.8948, allocations: 160.3 kB / 0.9564 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.8949, allocations: 154.6 kB / 0.9565 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.8949, allocations: 158.6 kB / 0.9567 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.8953, allocations: 0.5272 MB / 0.9572 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.478e-05/0.8953, allocations: 174.4 kB / 0.9573 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.15e-05/0.8954, allocations: 80.14 kB / 0.9574 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.8954, allocations: 80.59 kB / 0.9575 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.8954, allocations: 105.8 kB / 0.9576 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.8954, allocations: 1.344 kB / 0.9576 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001811/0.8956, allocations: 60.69 kB / 0.9576 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.8957, allocations: 135.9 kB / 0.9578 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.8962, allocations: 431 kB / 0.9582 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.8962, allocations: 25.7 kB / 0.9582 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.128e-05/0.8963, allocations: 138.5 kB / 0.9583 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.8963, allocations: 1.156 kB / 0.9583 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.8965, allocations: 90.62 kB / 0.9584 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8966, allocations: 339.6 kB / 0.9588 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.8967, allocations: 99.53 kB / 0.9589 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.8969, allocations: 160.1 kB / 0.959 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.8974, allocations: 308.6 kB / 0.9593 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.8974, allocations: 0.8438 kB / 0.9593 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006018/0.898, allocations: 335.8 kB / 0.9596 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.898, allocations: 5.5 kB / 0.9596 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.898, allocations: 6.688 kB / 0.9596 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.8981, allocations: 1.375 kB / 0.9596 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-06/0.8981, allocations: 6.906 kB / 0.9596 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.8981, allocations: 9.438 kB / 0.9596 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.8983, allocations: 44.98 kB / 0.9597 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.8983, allocations: 4.125 kB / 0.9597 GB, free: 0.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.8985, allocations: 240.6 kB / 0.9599 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.8986, allocations: 127.4 kB / 0.96 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.8986, allocations: 122.8 kB / 0.9602 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.959e-05/0.8987, allocations: 188.2 kB / 0.9603 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-05/0.8988, allocations: 181.6 kB / 0.9605 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.414e-05/0.8989, allocations: 177.6 kB / 0.9607 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.8992, allocations: 476.9 kB / 0.9611 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.571e-05/0.8993, allocations: 101.7 kB / 0.9612 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.8993, allocations: 105.9 kB / 0.9613 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.162e-05/0.8994, allocations: 185.2 kB / 0.9615 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/0.8994, allocations: 181.3 kB / 0.9617 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-05/0.8995, allocations: 181.3 kB / 0.9619 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-05/0.8996, allocations: 181.8 kB / 0.962 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.8998, allocations: 329.3 kB / 0.9623 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.8999, allocations: 200.1 kB / 0.9625 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.9, allocations: 194.1 kB / 0.9627 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.9002, allocations: 106.2 kB / 0.9628 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.9002, allocations: 177.2 kB / 0.963 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.9003, allocations: 114.1 kB / 0.9631 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003093/0.9006, allocations: 280.1 kB / 0.9634 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9006, allocations: 0 / 0.9634 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004966/0.9011, allocations: 77.47 kB / 0.9634 GB, free: 12.71 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 (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.0004674/0.9016, allocations: 294.8 kB / 0.9637 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.9019, allocations: 160.3 kB / 0.9639 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9019, allocations: 1.188 kB / 0.9639 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.9019, allocations: 4 kB / 0.9639 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.9024, allocations: 0.5382 MB / 0.9644 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008498/0.9033, allocations: 0.5325 MB / 0.9649 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.9038, allocations: 0.7749 MB / 0.9657 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.9038, allocations: 6.094 kB / 0.9657 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.9038, allocations: 13.66 kB / 0.9657 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.9039, allocations: 0 / 0.9657 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.007073/0.9109, allocations: 2.829 MB / 0.9685 GB, free: 9.23 MB / 0.7325 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/jenkins/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