Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009102/0.0009102, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004967/0.004967, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.137/2.137, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002871, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5191, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006335/0.5198, allocations: 257.9 kB / 0.9554 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.5212, allocations: 1.111 MB / 0.9565 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.5212, allocations: 0 / 0.9565 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.39e-05/0.5213, allocations: 5.312 kB / 0.9565 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.839e-05/0.5214, allocations: 1.25 kB / 0.9565 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.5218, allocations: 140 kB / 0.9566 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.5219, allocations: 16.89 kB / 0.9567 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.5219, allocations: 1.406 kB / 0.9567 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.5219, allocations: 8.172 kB / 0.9567 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.522, allocations: 9.766 kB / 0.9567 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.522, allocations: 3.938 kB / 0.9567 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.5223, allocations: 177.1 kB / 0.9569 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.5224, allocations: 11.39 kB / 0.9569 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.5224, allocations: 32.11 kB / 0.9569 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.5227, allocations: 190.2 kB / 0.9571 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5227, allocations: 5.875 kB / 0.9571 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5227, allocations: 0 / 0.9571 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5227, allocations: 0 / 0.9571 GB, free: 6.359 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.0002323/0.523, allocations: 369.3 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.523, allocations: 9.375 kB / 0.9574 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.986e-05/0.523, allocations: 108 kB / 0.9575 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5231, allocations: 76.22 kB / 0.9576 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.5232, allocations: 241.8 kB / 0.9579 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.5232, allocations: 154.9 kB / 0.958 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.5232, allocations: 152.9 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.282e-05/0.5233, allocations: 110.8 kB / 0.9583 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.5233, allocations: 75.28 kB / 0.9583 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.5233, allocations: 154.6 kB / 0.9585 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.5233, allocations: 158.6 kB / 0.9586 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.5233, allocations: 152.3 kB / 0.9588 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.5235, allocations: 455.8 kB / 0.9592 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.515e-05/0.5235, allocations: 174.7 kB / 0.9594 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/0.5236, allocations: 80.14 kB / 0.9594 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.5236, allocations: 84.69 kB / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.5236, allocations: 105.8 kB / 0.9596 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.5236, allocations: 0 / 0.9596 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.712e-05/0.5237, allocations: 32.55 kB / 0.9597 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.5237, allocations: 126.7 kB / 0.9598 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.5238, allocations: 104.1 kB / 0.9599 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.5238, allocations: 29.7 kB / 0.9599 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.997e-05/0.5238, allocations: 90.27 kB / 0.96 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.5238, allocations: 0 / 0.96 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/0.5238, allocations: 15.31 kB / 0.96 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.065e-05/0.5239, allocations: 314.8 kB / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.5239, allocations: 6.094 kB / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.5239, allocations: 10.11 kB / 0.9603 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.524, allocations: 21.42 kB / 0.9603 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.524, allocations: 4 kB / 0.9603 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.5241, allocations: 54.83 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.5241, allocations: 4.906 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5241, allocations: 1.188 kB / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.5241, allocations: 0 / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.5241, allocations: 0 / 0.9604 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.5241, allocations: 5.094 kB / 0.9604 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.5242, allocations: 5.125 kB / 0.9604 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5242, allocations: 6.531 kB / 0.9604 GB, free: 2.797 MB / 0.7169 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 4.769e-05/0.5243, allocations: 196 kB / 0.9606 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.5243, allocations: 106.1 kB / 0.9607 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.5243, allocations: 109.5 kB / 0.9608 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.5244, allocations: 181.7 kB / 0.961 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.5244, allocations: 176.3 kB / 0.9612 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.5244, allocations: 193.7 kB / 0.9613 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.5245, allocations: 395.3 kB / 0.9617 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5245, allocations: 106.5 kB / 0.9618 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.5246, allocations: 110.2 kB / 0.9619 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.5246, allocations: 181.9 kB / 0.9621 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.5246, allocations: 180.2 kB / 0.9623 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.5246, allocations: 182 kB / 0.9624 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.662e-05/0.5246, allocations: 184.2 kB / 0.9626 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.818e-05/0.5247, allocations: 308.4 kB / 0.9629 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.5248, allocations: 187.6 kB / 0.9631 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.5248, allocations: 181.7 kB / 0.9633 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.5249, allocations: 108.9 kB / 0.9634 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.525, allocations: 181.5 kB / 0.9635 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.525, allocations: 101.9 kB / 0.9636 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.525, allocations: 79.19 kB / 0.9637 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5251, allocations: 0 / 0.9637 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003055/0.5254, allocations: 60.61 kB / 0.9638 GB, free: 15.2 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.0008089/0.5262, allocations: 1.018 MB / 0.9648 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.242e-05/0.5263, allocations: 8.594 kB / 0.9648 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5263, allocations: 0 / 0.9648 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/0.5263, allocations: 1.375 kB / 0.9648 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.5266, allocations: 0.5267 MB / 0.9653 GB, free: 13.77 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.5276, allocations: 1.346 MB / 0.9666 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.5278, allocations: 0.6759 MB / 0.9673 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.5278, allocations: 13.47 kB / 0.9673 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.5279, allocations: 11.56 kB / 0.9673 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.5279, allocations: 1.375 kB / 0.9673 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.114/1.642, allocations: 2.21 MB / 0.9694 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/1.642, allocations: 315 kB / 0.9697 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/3.272, allocations: 1.031 kB / 0.9697 GB, free: 10.25 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches