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.001235/0.001234, allocations: 107.4 kB / 16.41 MB, free: 6.445 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.001304/0.001304, allocations: 187 kB / 17.34 MB, free: 5.707 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.578/2.578, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.89 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9105, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003329/0.9139, allocations: 1.4 MB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002605/0.9165, allocations: 1.933 MB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.9166, allocations: 0 / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.9182, allocations: 385.9 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.9183, allocations: 19.91 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8.125e-06/0.9183, allocations: 4 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.9186, allocations: 127.1 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.443e-05/0.9186, allocations: 21.5 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.045e-05/0.9188, allocations: 51.78 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.9189, allocations: 63.7 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.9189, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.9195, allocations: 175.9 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.9196, allocations: 31.84 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.9197, allocations: 75.61 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.9203, allocations: 283.4 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9203, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9203, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.9203, allocations: 4 kB / 1.172 GB, free: 15.31 MB / 0.9044 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.0008451/0.9212, allocations: 0.4905 MB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9212, allocations: 16.58 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001954/0.9214, allocations: 100 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.9217, allocations: 299.3 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.9218, allocations: 150.9 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.9219, allocations: 162.9 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.905e-05/0.9219, allocations: 113 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/0.922, allocations: 75.28 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.9221, allocations: 150.6 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.9221, allocations: 154.6 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.9222, allocations: 150.6 kB / 1.174 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.9226, allocations: 0.5017 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.233e-05/0.9227, allocations: 169.1 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.9228, allocations: 88.14 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.9228, allocations: 75.28 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/0.9229, allocations: 113.8 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.9229, allocations: 0 / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0002028/0.9231, allocations: 49.56 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.9231, allocations: 130.6 kB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/0.9235, allocations: 322.4 kB / 1.175 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.9235, allocations: 25.7 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.9236, allocations: 116.5 kB / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.9236, allocations: 0 / 1.175 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.9237, allocations: 61.69 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.9238, allocations: 326.8 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.924, allocations: 63.95 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.9241, allocations: 121.9 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.9243, allocations: 213.8 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9243, allocations: 0 / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000438/0.9248, allocations: 241.3 kB / 1.176 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9248, allocations: 6.719 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.9248, allocations: 4 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.9249, allocations: 4 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.522e-06/0.9249, allocations: 0 / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.9249, allocations: 7.938 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.925, allocations: 35.66 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.925, allocations: 4 kB / 1.176 GB, free: 10.57 MB / 0.9044 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.0002221/0.9252, allocations: 222.2 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/0.9253, allocations: 124.8 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.9254, allocations: 125.6 kB / 1.177 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/0.9255, allocations: 176.3 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-05/0.9256, allocations: 180.2 kB / 1.177 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.848e-05/0.9256, allocations: 184.2 kB / 1.177 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.9259, allocations: 449.2 kB / 1.177 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-05/0.926, allocations: 120.9 kB / 1.178 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.926, allocations: 104.9 kB / 1.178 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-05/0.9261, allocations: 184.2 kB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.994e-05/0.9262, allocations: 176.3 kB / 1.178 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.222e-05/0.9262, allocations: 180.3 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-05/0.9263, allocations: 184.2 kB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.9265, allocations: 323.6 kB / 1.179 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.9266, allocations: 201.9 kB / 1.179 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.9267, allocations: 180.3 kB / 1.179 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.9268, allocations: 108.9 kB / 1.179 GB, free: 7.199 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.9269, allocations: 180.3 kB / 1.179 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.927, allocations: 108.9 kB / 1.179 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002162/0.9272, allocations: 217.9 kB / 1.18 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9272, allocations: 0 / 1.18 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003811/0.9276, allocations: 63.94 kB / 1.18 GB, free: 6.633 MB / 0.9044 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.0004339/0.9281, allocations: 274.8 kB / 1.18 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.9283, allocations: 103.9 kB / 1.18 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9283, allocations: 0 / 1.18 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.9283, allocations: 0 / 1.18 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.9287, allocations: 464.7 kB / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.9293, allocations: 426.4 kB / 1.181 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.9297, allocations: 0.7392 MB / 1.182 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.9297, allocations: 11.44 kB / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9297, allocations: 0 / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of Templates: time 0.004673/0.9344, allocations: 2.328 MB / 1.184 GB, free: 2.246 MB / 0.9044 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=480 -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/jenkins1/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