Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 115 kB / 16.37 MB, free: 5.539 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.00102/0.00102, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.08 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2357, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001976/0.2378, allocations: 0.5376 MB / 0.9517 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.2393, allocations: 1.2 MB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.2394, allocations: 0 / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.152e-05/0.2395, allocations: 12 kB / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.2395, allocations: 0 / 0.9528 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.2401, allocations: 279.1 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.2403, allocations: 75.81 kB / 0.9532 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.2403, allocations: 7.984 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.2404, allocations: 43.84 kB / 0.9532 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.2405, allocations: 43.89 kB / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2405, allocations: 0 / 0.9533 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.2408, allocations: 207.7 kB / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.2409, allocations: 11.92 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.2409, allocations: 31.86 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.2412, allocations: 255.5 kB / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2412, allocations: 0 / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2412, allocations: 0 / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2413, allocations: 0 / 0.9538 GB, free: 5.352 MB / 0.7325 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.000395/0.2417, allocations: 445 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2417, allocations: 12.03 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.2418, allocations: 84.12 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2419, allocations: 259.6 kB / 0.9545 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.299e-05/0.242, allocations: 158.9 kB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-05/0.242, allocations: 154.9 kB / 0.9548 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.025e-05/0.2421, allocations: 105.1 kB / 0.9549 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.2421, allocations: 79.28 kB / 0.955 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.2422, allocations: 150.6 kB / 0.9551 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.2422, allocations: 158.5 kB / 0.9553 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.2423, allocations: 154.6 kB / 0.9554 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.2425, allocations: 469.8 kB / 0.9559 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.2426, allocations: 169.1 kB / 0.9561 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.2427, allocations: 84.14 kB / 0.9561 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2427, allocations: 75.28 kB / 0.9562 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.2427, allocations: 121.7 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2428, allocations: 0 / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.118e-05/0.2428, allocations: 29.7 kB / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.2429, allocations: 126.7 kB / 0.9565 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.243, allocations: 156.2 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2431, allocations: 25.7 kB / 0.9566 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.2431, allocations: 96.08 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.2431, allocations: 0 / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.2432, allocations: 41.69 kB / 0.9568 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.2433, allocations: 322.8 kB / 0.9571 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.654e-05/0.2434, allocations: 55.95 kB / 0.9571 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.2435, allocations: 63.94 kB / 0.9572 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.2436, allocations: 98.52 kB / 0.9573 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2436, allocations: 4.031 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003457/0.244, allocations: 235.1 kB / 0.9575 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.244, allocations: 45.69 kB / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.244, allocations: 0 / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.244, allocations: 0 / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2441, allocations: 0 / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2441, allocations: 0 / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.2443, allocations: 23.88 kB / 0.9576 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.2444, allocations: 12 kB / 0.9576 GB, free: 1.164 MB / 0.7325 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.0001324/0.2445, allocations: 201.1 kB / 0.9578 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.2446, allocations: 116.8 kB / 0.9579 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.2447, allocations: 112.6 kB / 0.958 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-05/0.2447, allocations: 184.2 kB / 0.9582 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.718e-05/0.2448, allocations: 180.3 kB / 0.9584 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-05/0.2449, allocations: 188.2 kB / 0.9585 GB, free: 156 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.2452, allocations: 417.2 kB / 0.9589 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/0.2452, allocations: 105 kB / 0.959 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.2453, allocations: 108.9 kB / 0.9591 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.867e-05/0.2453, allocations: 176.3 kB / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/0.2454, allocations: 180.3 kB / 0.9595 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.678e-05/0.2455, allocations: 192.2 kB / 0.9597 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-05/0.2456, allocations: 180.2 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.2457, allocations: 307.7 kB / 0.9601 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.2458, allocations: 186 kB / 0.9603 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.995e-05/0.2459, allocations: 188.2 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.246, allocations: 101 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2461, allocations: 180.2 kB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.2461, allocations: 109 kB / 0.9609 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.2462, allocations: 107.2 kB / 0.961 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2462, allocations: 0 / 0.961 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003657/0.2466, allocations: 67.98 kB / 0.961 GB, free: 13.43 MB / 0.7481 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.002403/0.249, allocations: 401.8 kB / 0.9614 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.2493, allocations: 219.2 kB / 0.9616 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2493, allocations: 0 / 0.9616 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.2493, allocations: 4 kB / 0.9616 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.2497, allocations: 462.1 kB / 0.9621 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.2501, allocations: 232.5 kB / 0.9623 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2504, allocations: 0.6844 MB / 0.9629 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.646e-05/0.2505, allocations: 51.81 kB / 0.963 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.2505, allocations: 7.438 kB / 0.963 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.2505, allocations: 0 / 0.963 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.004843/0.2554, allocations: 2.595 MB / 0.9655 GB, free: 8.812 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & ./Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches