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.001261/0.001261, allocations: 99 kB / 15.05 MB, free: 1.105 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.001468/0.001468, allocations: 177.3 kB / 15.94 MB, free: 228 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.438/2.438, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 8 kB / 0.8145 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8899/0.8904, allocations: 142.3 MB / 0.9535 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001629/0.8921, allocations: 1.091 MB / 0.9546 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.8939, allocations: 1.634 MB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.894, allocations: 0 / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009041/0.8949, allocations: 362.2 kB / 0.9565 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.8949, allocations: 19.47 kB / 0.9565 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.8949, allocations: 0 / 0.9565 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.8951, allocations: 106.4 kB / 0.9566 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.31e-05/0.8952, allocations: 18.19 kB / 0.9566 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.8953, allocations: 38.58 kB / 0.9567 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.8954, allocations: 56.53 kB / 0.9567 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.8954, allocations: 3.812 kB / 0.9567 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005569/0.896, allocations: 228.6 kB / 0.957 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.896, allocations: 39.56 kB / 0.957 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.8961, allocations: 52.8 kB / 0.957 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.8964, allocations: 169.9 kB / 0.9572 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.8964, allocations: 0 / 0.9572 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.126e-06/0.8964, allocations: 0 / 0.9572 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8964, allocations: 0.9688 kB / 0.9572 GB, free: 5.316 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.0006606/0.8971, allocations: 478.2 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.8972, allocations: 9.281 kB / 0.9577 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.8973, allocations: 108.7 kB / 0.9578 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.8975, allocations: 284.6 kB / 0.958 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.8975, allocations: 152.2 kB / 0.9582 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.8976, allocations: 151.9 kB / 0.9583 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.705e-05/0.8976, allocations: 107 kB / 0.9584 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.8977, allocations: 79.28 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.8977, allocations: 162.5 kB / 0.9587 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.8977, allocations: 150.6 kB / 0.9588 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.8978, allocations: 160.2 kB / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.898, allocations: 0.501 MB / 0.9595 GB, free: 3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.073e-05/0.8981, allocations: 177.1 kB / 0.9596 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.8981, allocations: 77.34 kB / 0.9597 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.8981, allocations: 105.8 kB / 0.9598 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.8981, allocations: 0 / 0.9598 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001578/0.8983, allocations: 48.88 kB / 0.9598 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.8983, allocations: 130.7 kB / 0.96 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.8986, allocations: 321.1 kB / 0.9603 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.8987, allocations: 25.7 kB / 0.9603 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.8987, allocations: 116.1 kB / 0.9604 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.8987, allocations: 0 / 0.9604 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.8987, allocations: 1.531 kB / 0.9604 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.8988, allocations: 336.6 kB / 0.9607 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.8989, allocations: 68.08 kB / 0.9608 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.899, allocations: 120.6 kB / 0.9609 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.567e-05/0.8991, allocations: 79.42 kB / 0.961 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8991, allocations: 3.938 kB / 0.961 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003869/0.8995, allocations: 236.4 kB / 0.9612 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.8995, allocations: 5.5 kB / 0.9612 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8995, allocations: 1.375 kB / 0.9612 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8996, allocations: 2.969 kB / 0.9612 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.853e-06/0.8996, allocations: 5.375 kB / 0.9612 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.8996, allocations: 2.75 kB / 0.9612 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.8997, allocations: 33.02 kB / 0.9613 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.8997, allocations: 4.125 kB / 0.9613 GB, free: 1.414 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.0001611/0.8999, allocations: 227 kB / 0.9615 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.8999, allocations: 119.7 kB / 0.9616 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/0.9, allocations: 120.5 kB / 0.9617 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.9, allocations: 177.6 kB / 0.9619 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.667e-05/0.9, allocations: 177.6 kB / 0.9621 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/0.9001, allocations: 185.6 kB / 0.9622 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.9003, allocations: 452.5 kB / 0.9627 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.9003, allocations: 106.3 kB / 0.9628 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.9004, allocations: 110.3 kB / 0.9629 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.883e-05/0.9004, allocations: 176.3 kB / 0.963 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.9005, allocations: 185.6 kB / 0.9632 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.318e-05/0.9006, allocations: 177.6 kB / 0.9634 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.413e-05/0.9007, allocations: 181.6 kB / 0.9636 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.9008, allocations: 327.8 kB / 0.9639 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.9009, allocations: 199.2 kB / 0.9641 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.901, allocations: 185.9 kB / 0.9642 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.9011, allocations: 106.3 kB / 0.9643 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.9012, allocations: 177.7 kB / 0.9645 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.9013, allocations: 109 kB / 0.9646 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002198/0.9015, allocations: 211.4 kB / 0.9648 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.504e-06/0.9015, allocations: 0 / 0.9648 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003693/0.9019, allocations: 70.98 kB / 0.9649 GB, free: 13.7 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.000402/0.9023, allocations: 265.8 kB / 0.9651 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.9025, allocations: 105.1 kB / 0.9652 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9025, allocations: 1 kB / 0.9652 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.9025, allocations: 0 / 0.9652 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.9029, allocations: 0.5331 MB / 0.9658 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.9036, allocations: 410.9 kB / 0.9662 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.904, allocations: 0.7486 MB / 0.9669 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.457e-05/0.904, allocations: 3 kB / 0.9669 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.9041, allocations: 9.469 kB / 0.9669 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.9041, allocations: 4 kB / 0.9669 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of Templates: time 0.005732/0.9098, allocations: 2.187 MB / 0.969 GB, free: 10.7 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","../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches