Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|expMod.oveWriSet_u|expMod.oveWriAct_u|expMod.rea|expMod.oveWriSet_activate|expMod.oveWriAct_activate",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006388/0.006388, allocations: 96.73 kB / 15.73 MB, free: 6.055 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.001489/0.001489, allocations: 194.9 kB / 16.67 MB, free: 5.977 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 59.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3138, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003732/0.3175, allocations: 2.625 MB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.319, allocations: 0.9157 MB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3192, allocations: 11.94 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.3194, allocations: 63.39 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3196, allocations: 67.39 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.32, allocations: 231.3 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.3204, allocations: 459.6 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3207, allocations: 145.2 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3208, allocations: 147.4 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.321, allocations: 147.2 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.321, allocations: 52 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.3211, allocations: 48 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.3212, allocations: 91.69 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.3213, allocations: 191 kB / 1.226 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000551/0.3219, allocations: 0.6226 MB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3219, allocations: 4 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3219, allocations: 4 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3219, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008858/0.3228, allocations: 0.6543 MB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3228, allocations: 12.03 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.3229, allocations: 40.7 kB / 1.227 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.3234, allocations: 399.4 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.3235, allocations: 20.94 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.3235, allocations: 32.36 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.3241, allocations: 321.7 kB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3241, allocations: 4 kB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.3242, allocations: 12 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3242, allocations: 8 kB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.3247, allocations: 238.1 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.3262, allocations: 1.151 MB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.3267, allocations: 226.8 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.3269, allocations: 88.83 kB / 1.229 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.327, allocations: 4 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.327, allocations: 34.56 kB / 1.229 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.327, allocations: 4 kB / 1.229 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0006721/0.3277, allocations: 301.3 kB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3277, allocations: 77.11 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.328, allocations: 332.5 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3281, allocations: 29.7 kB / 1.23 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.3282, allocations: 200.2 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.3282, allocations: 63.48 kB / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/0.3283, allocations: 37.7 kB / 1.23 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3284, allocations: 342.8 kB / 1.231 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.3286, allocations: 84.83 kB / 1.231 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.3288, allocations: 125.5 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.3292, allocations: 188.3 kB / 1.231 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3292, allocations: 3.938 kB / 1.231 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004941/0.3297, allocations: 265.4 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3297, allocations: 8 kB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3297, allocations: 0 / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3297, allocations: 0 / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.3299, allocations: 31.98 kB / 1.231 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.3299, allocations: 0 / 1.231 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.33, allocations: 27.81 kB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.33, allocations: 4 kB / 1.231 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002348/0.3303, allocations: 196.1 kB / 1.232 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001472/0.3304, allocations: 111.2 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002618/0.3307, allocations: 165 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.3307, allocations: 0 / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000352/0.331, allocations: 229.4 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.3311, allocations: 7.984 kB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.3311, allocations: 0 / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.3311, allocations: 4 kB / 1.232 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3312, allocations: 27.94 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3312, allocations: 4 kB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3313, allocations: 15.88 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3313, allocations: 11.94 kB / 1.232 GB, free: 1.656 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001288/0.3314, allocations: 188.7 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.3315, allocations: 35.84 kB / 1.232 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.3316, allocations: 35.28 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3316, allocations: 0 / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3316, allocations: 0 / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3316, allocations: 7.938 kB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.332, allocations: 409.3 kB / 1.233 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.332, allocations: 3.984 kB / 1.233 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3322, allocations: 23.98 kB / 1.233 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3322, allocations: 0 / 1.233 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3322, allocations: 4 kB / 1.233 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3322, allocations: 8 kB / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3322, allocations: 0 / 1.233 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006524/0.3328, allocations: 443.7 kB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.333, allocations: 128.9 kB / 1.233 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.333, allocations: 11.94 kB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3331, allocations: 12.05 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.3332, allocations: 15.92 kB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3332, allocations: 8 kB / 1.233 GB, free: 264 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002205/0.3334, allocations: 231.1 kB / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 1.234 GB, free: 32 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004128/0.3338, allocations: 95.72 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001258/0.334, allocations: 111.2 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005723/0.3345, allocations: 267.8 kB / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3345, allocations: 0 / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.3347, allocations: 95.89 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.3353, allocations: 86.73 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3364, allocations: 0.5695 MB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3368, allocations: 0.7753 MB / 1.236 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.3369, allocations: 26.28 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.3369, allocations: 23.44 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.3369, allocations: 0 / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of Templates: time 0.0068/0.3437, allocations: 3.204 MB / 1.239 GB, free: 10.77 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches