Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",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.001578/0.001578, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.44 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2501, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001897/0.252, allocations: 0.5434 MB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2537, allocations: 1.202 MB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.2537, allocations: 0 / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.179e-05/0.2538, allocations: 3.938 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.2539, allocations: 4 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.2546, allocations: 279.3 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.2547, allocations: 79.8 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.2548, allocations: 8 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.54e-05/0.2548, allocations: 43.89 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.2549, allocations: 31.86 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.2549, allocations: 7.984 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.2553, allocations: 179.7 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.2554, allocations: 15.91 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.2554, allocations: 31.86 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.2558, allocations: 247.6 kB / 1.056 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2558, allocations: 0 / 1.056 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2558, allocations: 3.938 kB / 1.056 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2559, allocations: 0 / 1.056 GB, free: 5.613 MB / 0.8106 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.0004207/0.2563, allocations: 449.3 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2563, allocations: 8.625 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.2564, allocations: 106 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.984e-05/0.2565, allocations: 84.22 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.2566, allocations: 259.5 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.2567, allocations: 154.9 kB / 1.057 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.2568, allocations: 158.9 kB / 1.057 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.471e-05/0.2568, allocations: 104.9 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.2568, allocations: 75.28 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.228e-05/0.2569, allocations: 154.6 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/0.257, allocations: 158.5 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.085e-05/0.257, allocations: 150.6 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002947/0.2573, allocations: 473.8 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.2574, allocations: 169.6 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.2574, allocations: 84.14 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.2575, allocations: 83.16 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.2575, allocations: 109.8 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.2575, allocations: 0 / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.277e-05/0.2576, allocations: 33.7 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.2577, allocations: 130.7 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2578, allocations: 148 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.2579, allocations: 29.7 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.2579, allocations: 92.05 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.2579, allocations: 0 / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.258, allocations: 45.69 kB / 1.059 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.2581, allocations: 318.8 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.2582, allocations: 59.95 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2583, allocations: 71.88 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.2585, allocations: 94.52 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2585, allocations: 0 / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003682/0.2589, allocations: 231.3 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2589, allocations: 43.09 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2589, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2589, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2589, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.2589, allocations: 0 / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.2592, allocations: 27.88 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.2593, allocations: 12.06 kB / 1.059 GB, free: 1.316 MB / 0.8106 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.0001111/0.2594, allocations: 202.6 kB / 1.06 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.2595, allocations: 120.7 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.2595, allocations: 108.6 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-05/0.2596, allocations: 188.2 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.715e-05/0.2597, allocations: 184.3 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-05/0.2597, allocations: 180.2 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.2599, allocations: 417.1 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/0.26, allocations: 109 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.26, allocations: 104.9 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.256e-05/0.2601, allocations: 180.3 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.2602, allocations: 184.3 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.605e-05/0.2602, allocations: 180.2 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.777e-05/0.2603, allocations: 180.2 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2604, allocations: 311.7 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/0.2605, allocations: 186 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.2606, allocations: 184.2 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.2606, allocations: 105 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.2607, allocations: 180.2 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.2607, allocations: 105 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.2608, allocations: 103.2 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2608, allocations: 3.938 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003491/0.2612, allocations: 71.98 kB / 1.063 GB, free: 13.58 MB / 0.8262 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.04859/0.3098, allocations: 1.041 MB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.3102, allocations: 211.3 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3102, allocations: 0 / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.948e-06/0.3102, allocations: 0 / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.3107, allocations: 463.8 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.002043/0.3128, allocations: 1.87 MB / 1.066 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.3131, allocations: 0.6807 MB / 1.067 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.925e-05/0.3132, allocations: 59.92 kB / 1.067 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3132, allocations: 7.438 kB / 1.067 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3132, allocations: 0 / 1.067 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8202/1.133, allocations: 3.68 MB / 1.071 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.884, allocations: 3.984 kB / 1.071 GB, free: 5.59 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches