Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 209.8 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.351/3.351, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 71.2 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3644, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002128/0.3666, allocations: 0.5476 MB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.3688, allocations: 1.27 MB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.3688, allocations: 3.938 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.63e-05/0.3689, allocations: 0 / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.369, allocations: 3.984 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007785/0.3697, allocations: 295.2 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.3699, allocations: 75.86 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.557e-05/0.3699, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.102e-05/0.37, allocations: 47.83 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.528e-05/0.3701, allocations: 43.89 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3701, allocations: 8 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.3705, allocations: 223.6 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.3706, allocations: 11.92 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.3706, allocations: 27.86 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.371, allocations: 259.3 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.371, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 7.01e-07/0.371, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.371, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 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.0004935/0.3715, allocations: 367.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3715, allocations: 8.031 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.3716, allocations: 92.11 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3718, allocations: 201.8 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/0.3719, allocations: 150.9 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.076e-05/0.372, allocations: 158.9 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.067e-05/0.3721, allocations: 109 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.3721, allocations: 75.28 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.3722, allocations: 154.6 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.689e-05/0.3723, allocations: 154.5 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.3723, allocations: 154.5 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.3727, allocations: 421.5 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.3728, allocations: 169.1 kB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.3728, allocations: 80.14 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.3728, allocations: 83.28 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.47e-05/0.3729, allocations: 109.8 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3729, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.815e-05/0.373, allocations: 37.58 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.3731, allocations: 126.7 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3733, allocations: 152 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.3733, allocations: 25.7 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.3734, allocations: 96.09 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.3734, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.3734, allocations: 41.69 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3736, allocations: 326.8 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.3737, allocations: 101.6 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3739, allocations: 97.64 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.374, allocations: 94.52 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.374, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004237/0.3744, allocations: 261 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.3745, allocations: 49.62 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3745, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3745, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.3745, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3745, allocations: 4 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.3748, allocations: 31.92 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.3748, allocations: 15.98 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.00017/0.375, allocations: 193.7 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.3751, allocations: 120.8 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.3752, allocations: 112.5 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-05/0.3753, allocations: 180.3 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.089e-05/0.3753, allocations: 184.2 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.249e-05/0.3754, allocations: 180.3 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.3757, allocations: 368.8 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-05/0.3757, allocations: 105 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.3758, allocations: 101 kB / 1.333 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.538e-05/0.3759, allocations: 184.2 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.376, allocations: 184.2 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.632e-05/0.376, allocations: 180.2 kB / 1.334 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.572e-05/0.3761, allocations: 184.2 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.3763, allocations: 307.8 kB / 1.334 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.3764, allocations: 112.9 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3765, allocations: 188.1 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.3766, allocations: 105 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.3767, allocations: 180.2 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/0.3767, allocations: 112.9 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.712e-05/0.3768, allocations: 111.2 kB / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3768, allocations: 0 / 1.335 GB, free: 7.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003776/0.3772, allocations: 75.69 kB / 1.335 GB, free: 7.406 MB / 1.029 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.0009911/0.3782, allocations: 416.5 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.3785, allocations: 185 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3785, allocations: 0 / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-06/0.3785, allocations: 7.938 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3789, allocations: 457.1 kB / 1.336 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.3793, allocations: 220.2 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.559e-05/0.3793, allocations: 71.34 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.309e-05/0.3794, allocations: 51.86 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.3794, allocations: 11.44 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3794, allocations: 0 / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of Templates: time 0.006188/0.3856, allocations: 2.77 MB / 1.339 GB, free: 3.293 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.271876376122236]