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.001263/0.001263, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.00126/0.00126, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 4.527 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.871/2.871, allocations: 469.8 MB / 0.7427 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 70.14 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004656/0.3208, allocations: 2.651 MB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3226, allocations: 0.8768 MB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.3229, allocations: 11.94 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.3231, allocations: 47.64 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.3233, allocations: 47.59 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.3238, allocations: 225.8 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.3243, allocations: 447.7 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.3247, allocations: 225.1 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3249, allocations: 139.5 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3251, allocations: 155.2 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.3251, allocations: 48 kB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.3252, allocations: 52 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-05/0.3253, allocations: 91.66 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.3255, allocations: 191 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.326, allocations: 0.507 MB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.326, allocations: 3.984 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.61e-07/0.326, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.326, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 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.001007/0.327, allocations: 0.6428 MB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3271, allocations: 12.03 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.3272, allocations: 44.45 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.3277, allocations: 383.2 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.3277, allocations: 16.94 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.3278, allocations: 28.38 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.3284, allocations: 325.7 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3284, allocations: 7.938 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.3285, allocations: 8 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.3285, allocations: 8 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.329, allocations: 234.1 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.3307, allocations: 1.174 MB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.3312, allocations: 230.8 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.3315, allocations: 100.8 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3315, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3315, allocations: 30.56 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.3315, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000704/0.3322, allocations: 306.7 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.3323, allocations: 85.05 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.3327, allocations: 332.5 kB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3327, allocations: 25.7 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3329, allocations: 192.1 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.333, allocations: 59.19 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.3331, allocations: 45.7 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3332, allocations: 338.8 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3334, allocations: 88.83 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.3337, allocations: 115.4 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.3341, allocations: 187.4 kB / 1.075 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.3341, allocations: 4 kB / 1.075 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005048/0.3346, allocations: 254.6 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3346, allocations: 8 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3346, allocations: 4 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3346, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.3348, allocations: 27.98 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3348, allocations: 7.938 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.335, allocations: 31.7 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.335, allocations: 4 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002671/0.3353, allocations: 196.1 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001711/0.3355, allocations: 109.8 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002879/0.3358, allocations: 167.5 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.3358, allocations: 0 / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003929/0.3362, allocations: 227.2 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.3362, allocations: 12 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.3362, allocations: 0 / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.3362, allocations: 0 / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.3364, allocations: 24 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.3364, allocations: 0 / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3365, allocations: 27.83 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3365, allocations: 7.938 kB / 1.076 GB, free: 2.504 MB / 0.8262 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.0001412/0.3367, allocations: 192.1 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.3367, allocations: 31.62 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.3368, allocations: 35.28 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3368, allocations: 4 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3368, allocations: 0 / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.3368, allocations: 7.922 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.3373, allocations: 405.3 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3374, allocations: 0 / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.3375, allocations: 31.92 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3375, allocations: 4 kB / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.3376, allocations: 0 / 1.076 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3376, allocations: 3.938 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3376, allocations: 4 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007394/0.3383, allocations: 433.1 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3385, allocations: 136.7 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.3385, allocations: 4 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.3387, allocations: 16.05 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.3388, allocations: 15.92 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3388, allocations: 4 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002643/0.3391, allocations: 235.1 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3391, allocations: 0 / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004043/0.3395, allocations: 83.69 kB / 1.077 GB, free: 0.8086 MB / 0.8262 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.0001475/0.3396, allocations: 107.2 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006767/0.3403, allocations: 302 kB / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3403, allocations: 0 / 1.078 GB, free: 412 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.3405, allocations: 99.84 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.3412, allocations: 86.61 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.3424, allocations: 0.6779 MB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3429, allocations: 0.7753 MB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.343, allocations: 19.44 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.343, allocations: 0 / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.00669/0.3497, allocations: 3.968 MB / 1.083 GB, free: 10.73 MB / 0.8419 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=400 -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/jenkins1/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