Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.863/2.863, allocations: 496.2 MB / 0.7819 GB, free: 12.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yR2.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.88 kB / 1.136 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8767, allocations: 173.7 MB / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001827/0.8786, allocations: 0.529 MB / 1.306 GB, free: 400 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.8803, allocations: 1.202 MB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.8803, allocations: 0 / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.411e-05/0.8804, allocations: 5.641 kB / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.287e-05/0.8804, allocations: 5.078 kB / 1.307 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.8809, allocations: 173 kB / 1.307 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.542e-05/0.881, allocations: 15.84 kB / 1.307 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.881, allocations: 6.781 kB / 1.307 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.8811, allocations: 14.56 kB / 1.307 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.622e-05/0.8811, allocations: 7.359 kB / 1.307 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.8811, allocations: 0 / 1.307 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.8815, allocations: 202.5 kB / 1.308 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.8815, allocations: 4.078 kB / 1.308 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.8816, allocations: 11.69 kB / 1.308 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.8819, allocations: 200.5 kB / 1.308 GB, free: 15.3 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8819, allocations: 0 / 1.308 GB, free: 15.3 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8819, allocations: 1.859 kB / 1.308 GB, free: 15.3 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.8819, allocations: 0 / 1.308 GB, free: 15.3 MB / 1.014 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.0004026/0.8823, allocations: 374.5 kB / 1.308 GB, free: 14.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.8823, allocations: 8.031 kB / 1.308 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.8824, allocations: 77.97 kB / 1.308 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.8826, allocations: 243.5 kB / 1.308 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/0.8826, allocations: 156 kB / 1.309 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.8827, allocations: 156.8 kB / 1.309 GB, free: 14.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/0.8828, allocations: 110.9 kB / 1.309 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.8828, allocations: 79.28 kB / 1.309 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.8829, allocations: 151.2 kB / 1.309 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.028e-05/0.8829, allocations: 150.6 kB / 1.309 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.455e-05/0.883, allocations: 152 kB / 1.309 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.8833, allocations: 453.3 kB / 1.31 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.864e-05/0.8834, allocations: 169.6 kB / 1.31 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.8835, allocations: 86.53 kB / 1.31 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.8835, allocations: 75.28 kB / 1.31 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/0.8835, allocations: 111.7 kB / 1.31 GB, free: 12.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.8836, allocations: 4 kB / 1.31 GB, free: 12.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.812e-05/0.8836, allocations: 36.53 kB / 1.31 GB, free: 12.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.8837, allocations: 127.3 kB / 1.31 GB, free: 12.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.8838, allocations: 101.8 kB / 1.31 GB, free: 12.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.8838, allocations: 26.8 kB / 1.31 GB, free: 12.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.8839, allocations: 85.81 kB / 1.311 GB, free: 12.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.8839, allocations: 0 / 1.311 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.8839, allocations: 22.91 kB / 1.311 GB, free: 12.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.884, allocations: 315.4 kB / 1.311 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.556e-05/0.8841, allocations: 6.688 kB / 1.311 GB, free: 11.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.865e-05/0.8841, allocations: 10.67 kB / 1.311 GB, free: 11.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.8842, allocations: 23.2 kB / 1.311 GB, free: 11.94 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8842, allocations: 0 / 1.311 GB, free: 11.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001306/0.8843, allocations: 55.5 kB / 1.311 GB, free: 11.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.8843, allocations: 10.67 kB / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8843, allocations: 0 / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8843, allocations: 4.125 kB / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.8843, allocations: 1.922 kB / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.8843, allocations: 0 / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.8844, allocations: 6.781 kB / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.8844, allocations: 2.812 kB / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 0 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0001113/0.8845, allocations: 189.2 kB / 1.311 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.8846, allocations: 110.8 kB / 1.311 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.8847, allocations: 113.8 kB / 1.311 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.904e-05/0.8847, allocations: 178.3 kB / 1.312 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-05/0.8848, allocations: 182.9 kB / 1.312 GB, free: 11.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.439e-05/0.8849, allocations: 176.9 kB / 1.312 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.8851, allocations: 402.2 kB / 1.312 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/0.8852, allocations: 106.9 kB / 1.312 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.8852, allocations: 115.3 kB / 1.312 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.8853, allocations: 182 kB / 1.313 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.09e-05/0.8854, allocations: 185.7 kB / 1.313 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.599e-05/0.8854, allocations: 181 kB / 1.313 GB, free: 9.695 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.983e-05/0.8855, allocations: 182.3 kB / 1.313 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.8857, allocations: 314 kB / 1.313 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.787e-05/0.8858, allocations: 184.9 kB / 1.314 GB, free: 8.984 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.397e-05/0.8859, allocations: 178 kB / 1.314 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.8859, allocations: 106.5 kB / 1.314 GB, free: 8.695 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.886, allocations: 178.2 kB / 1.314 GB, free: 8.516 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.8861, allocations: 109.8 kB / 1.314 GB, free: 8.402 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.8861, allocations: 88.62 kB / 1.314 GB, free: 8.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8861, allocations: 1.656 kB / 1.314 GB, free: 8.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003428/0.8865, allocations: 58.84 kB / 1.314 GB, free: 8.301 MB / 1.014 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.0008184/0.8873, allocations: 377.5 kB / 1.315 GB, free: 8.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.8874, allocations: 9.516 kB / 1.315 GB, free: 8.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8874, allocations: 0 / 1.315 GB, free: 8.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.8874, allocations: 0 / 1.315 GB, free: 8.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.8877, allocations: 462.9 kB / 1.315 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.888, allocations: 173.2 kB / 1.315 GB, free: 7.438 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.8883, allocations: 0.673 MB / 1.316 GB, free: 6.742 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.569e-05/0.8884, allocations: 12.84 kB / 1.316 GB, free: 6.738 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.8884, allocations: 14.36 kB / 1.316 GB, free: 6.73 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.8884, allocations: 0 / 1.316 GB, free: 6.73 MB / 1.014 GB Notification: Performance of Templates: time 0.004316/0.8927, allocations: 1.522 MB / 1.317 GB, free: 6.555 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.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: 8.856110450811684]