Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001277/0.001277, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001266/0.001266, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.535/2.535, allocations: 437.1 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002999/0.002999, allocations: 63.67 kB / 0.8699 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2976, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004365/0.302, allocations: 2.616 MB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3036, allocations: 0.9041 MB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.3038, allocations: 11.94 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.304, allocations: 63.39 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.3042, allocations: 63.39 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.3047, allocations: 236.9 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.3051, allocations: 451.7 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000358/0.3055, allocations: 225.1 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.3057, allocations: 143.5 kB / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3058, allocations: 155.1 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.371e-05/0.3059, allocations: 48 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.033e-05/0.306, allocations: 52 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.3061, allocations: 87.7 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.3062, allocations: 194.9 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.3068, allocations: 0.6001 MB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3068, allocations: 0 / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3068, allocations: 0 / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3068, allocations: 0 / 1.024 GB, free: 4.734 MB / 0.795 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.000965/0.3078, allocations: 0.6545 MB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3079, allocations: 12.58 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.3079, allocations: 40.47 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005376/0.3085, allocations: 379.3 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.3085, allocations: 20.94 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.3086, allocations: 28.38 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.3092, allocations: 333.7 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3093, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.3093, allocations: 8 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3093, allocations: 8 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.3098, allocations: 238.1 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.3114, allocations: 1.163 MB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.312, allocations: 236 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.3122, allocations: 100.9 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3122, allocations: 4 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3122, allocations: 38.5 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.3122, allocations: 0 / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0007205/0.313, allocations: 299 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.313, allocations: 85.05 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.3134, allocations: 328.5 kB / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3134, allocations: 29.7 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.3136, allocations: 200 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.3137, allocations: 55.19 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.3137, allocations: 41.7 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3139, allocations: 338.8 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.3141, allocations: 84.83 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3143, allocations: 125.2 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003687/0.3147, allocations: 186.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3147, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004766/0.3152, allocations: 253.1 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3152, allocations: 4 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3152, allocations: 4 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3152, allocations: 3.984 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3154, allocations: 31.92 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3154, allocations: 4 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.3156, allocations: 27.72 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3156, allocations: 12.05 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002501/0.3159, allocations: 196.1 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001621/0.316, allocations: 109.2 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002772/0.3163, allocations: 165.2 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.3163, allocations: 8.031 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003758/0.3167, allocations: 221.2 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.3167, allocations: 8 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.3168, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/0.3168, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3169, allocations: 31.92 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3169, allocations: 3.984 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.317, allocations: 19.84 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.317, allocations: 12 kB / 1.03 GB, free: 14.38 MB / 0.8106 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.0001274/0.3172, allocations: 192.2 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.3172, allocations: 27.62 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.023e-05/0.3173, allocations: 31.28 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3173, allocations: 7.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3174, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3174, allocations: 7.875 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.3178, allocations: 413.3 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3178, allocations: 0 / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.318, allocations: 27.98 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.318, allocations: 4 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3181, allocations: 0 / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3181, allocations: 0 / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3181, allocations: 0 / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007306/0.3188, allocations: 447.4 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.319, allocations: 140.7 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.319, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.3192, allocations: 12 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3192, allocations: 11.92 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3192, allocations: 4 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002487/0.3195, allocations: 235.1 kB / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3195, allocations: 0 / 1.031 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003936/0.3199, allocations: 87.69 kB / 1.031 GB, free: 12.67 MB / 0.8106 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.0001167/0.32, allocations: 103.3 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006503/0.3207, allocations: 295.6 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3207, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3209, allocations: 95.91 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.3215, allocations: 99.41 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.3226, allocations: 0.578 MB / 1.032 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.323, allocations: 0.7753 MB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.599e-05/0.3231, allocations: 27.44 kB / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3231, allocations: 0 / 1.033 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.006341/0.3295, allocations: 3.957 MB / 1.037 GB, free: 6.719 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches