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.001283/0.001283, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001268/0.001268, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.4 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.505/2.505, allocations: 437 MB / 0.7107 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 56.09 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3011, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004302/0.3055, allocations: 2.658 MB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3071, allocations: 0.8807 MB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.3074, allocations: 8 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.3077, allocations: 47.59 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.3079, allocations: 47.66 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.3085, allocations: 218.9 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005123/0.309, allocations: 455.6 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.3094, allocations: 230 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.3096, allocations: 139.4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.3097, allocations: 147.2 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.3098, allocations: 52 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.402e-05/0.3099, allocations: 51.94 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.31, allocations: 91.77 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3101, allocations: 187 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.3106, allocations: 0.5147 MB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3106, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3106, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.3107, allocations: 4 kB / 1.023 GB, free: 5.266 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.001001/0.3117, allocations: 0.6429 MB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3117, allocations: 11.98 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.3118, allocations: 40.47 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3122, allocations: 383.2 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.3123, allocations: 32.92 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.3124, allocations: 24.38 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/0.3129, allocations: 337.4 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.313, allocations: 0 / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.313, allocations: 12 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.313, allocations: 4 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.3135, allocations: 238.1 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.3151, allocations: 1.163 MB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.3156, allocations: 234.8 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.3158, allocations: 100.8 kB / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3158, allocations: 0 / 1.026 GB, free: 1.895 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3158, allocations: 38.55 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.3158, allocations: 0 / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.000658/0.3165, allocations: 298.8 kB / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.3166, allocations: 85.09 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.3169, allocations: 328.5 kB / 1.027 GB, free: 1.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.317, allocations: 29.7 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3171, allocations: 196.1 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/0.3172, allocations: 51.2 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.3173, allocations: 45.69 kB / 1.027 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3174, allocations: 338.8 kB / 1.027 GB, free: 456 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3176, allocations: 88.83 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3178, allocations: 117.3 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.3182, allocations: 193.5 kB / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3182, allocations: 0 / 1.028 GB, free: 36 kB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004951/0.3187, allocations: 253.1 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3187, allocations: 4 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3187, allocations: 0 / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3187, allocations: 0 / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.3189, allocations: 39.92 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.3189, allocations: 7.984 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3191, allocations: 23.78 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.3191, allocations: 8 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002313/0.3194, allocations: 196.1 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001609/0.3195, allocations: 105.5 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002625/0.3198, allocations: 168.6 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-06/0.3198, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003671/0.3202, allocations: 225.2 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.3202, allocations: 4 kB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.3202, allocations: 0 / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.3202, allocations: 4 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3203, allocations: 27.92 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3204, allocations: 4 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3205, allocations: 23.84 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3205, allocations: 11.88 kB / 1.029 GB, free: 14.92 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.0001194/0.3206, allocations: 188.3 kB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.3207, allocations: 31.62 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.68e-05/0.3208, allocations: 39.28 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3208, allocations: 3.984 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3208, allocations: 3.938 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.3208, allocations: 7.984 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.3212, allocations: 409.3 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3213, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.3214, allocations: 27.92 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3215, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.3215, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3215, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3215, allocations: 3.938 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006797/0.3222, allocations: 437.3 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.3223, allocations: 128.7 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3224, allocations: 4 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.3225, allocations: 15.92 kB / 1.03 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.3226, allocations: 11.92 kB / 1.03 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.3226, allocations: 8 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002271/0.3228, allocations: 231.1 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3228, allocations: 4.062 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003909/0.3232, allocations: 87.69 kB / 1.03 GB, free: 13.21 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.0001195/0.3234, allocations: 111.2 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006044/0.324, allocations: 286.5 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.324, allocations: 0 / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.3242, allocations: 104.1 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.3248, allocations: 79.55 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3259, allocations: 0.6955 MB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3263, allocations: 0.7714 MB / 1.032 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.3264, allocations: 27.44 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3264, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.006309/0.3327, allocations: 3.959 MB / 1.036 GB, free: 7.145 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=480 -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