Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 101.9 kB / 16.27 MB, free: 5.988 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.001258/0.001258, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.539/1.539, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.626/2.626, allocations: 437 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 72.17 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2959, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002133/0.2981, allocations: 0.5426 MB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4e-05/0.2981, allocations: 0 / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.2982, allocations: 3.938 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.2982, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.2983, allocations: 3.938 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.003e-05/0.2983, allocations: 4 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.758e-05/0.2984, allocations: 4 kB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.659e-05/0.2985, allocations: 0 / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.7e-05/0.2985, allocations: 4 kB / 1.019 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.637e-05/0.2985, allocations: 7.922 kB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.2985, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-06/0.2985, allocations: 4 kB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.2985, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.2986, allocations: 0 / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 5.48e-05/0.2986, allocations: 3.938 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2986, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2986, allocations: 4 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2987, allocations: 0 / 1.019 GB, free: 10.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004593/0.2991, allocations: 321.2 kB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2992, allocations: 8.031 kB / 1.019 GB, free: 9.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.2992, allocations: 4.938 kB / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.2993, allocations: 164.4 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.2994, allocations: 384 / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.2994, allocations: 4.359 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.2995, allocations: 38.2 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2995, allocations: 192 / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2995, allocations: 3.938 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2995, allocations: 0 / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.2996, allocations: 0 / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.2999, allocations: 379.5 kB / 1.019 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.3, allocations: 177.1 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.3001, allocations: 84.08 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3001, allocations: 75.28 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.3002, allocations: 117.9 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3002, allocations: 0 / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.013e-05/0.3003, allocations: 25.7 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.3003, allocations: 130.7 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.53e-05/0.3004, allocations: 93.86 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.3004, allocations: 25.7 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.3005, allocations: 84.14 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.3005, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.3005, allocations: 13.72 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3006, allocations: 314.8 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.899e-06/0.3006, allocations: 4.062 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-06/0.3006, allocations: 4 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.3007, allocations: 75.28 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-05/0.3007, allocations: 79.22 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.075e-05/0.3008, allocations: 33.64 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.3008, allocations: 79.28 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.3008, allocations: 79.22 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.43e-05/0.3009, allocations: 154.6 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.801e-05/0.301, allocations: 91.22 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.038e-05/0.301, allocations: 154.5 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.3011, allocations: 80.8 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.3012, allocations: 83.22 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001924/0.3014, allocations: 260.3 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.3014, allocations: 105 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.3015, allocations: 108.1 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001609/0.3016, allocations: 188.2 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.786e-05/0.3017, allocations: 176.3 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.067e-05/0.3018, allocations: 180.2 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3021, allocations: 413.2 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000167/0.3023, allocations: 105 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.3023, allocations: 104.9 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.3025, allocations: 176.3 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/0.3026, allocations: 184.2 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001113/0.3028, allocations: 176.6 kB / 1.023 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.374e-05/0.3028, allocations: 184.2 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.303, allocations: 311.7 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.3032, allocations: 182 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.3033, allocations: 184.2 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.3033, allocations: 105 kB / 1.024 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3035, allocations: 184.2 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.3035, allocations: 101 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.134e-05/0.3035, allocations: 79.28 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3036, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003224/0.3039, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 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.0001584/0.304, allocations: 178.6 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 3.881e-05/0.3041, allocations: 7.938 kB / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3041, allocations: 0 / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.3041, allocations: 0 / 1.025 GB, free: 3.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3046, allocations: 466.3 kB / 1.025 GB, free: 2.562 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.3049, allocations: 189.9 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.3051, allocations: 0.6807 MB / 1.026 GB, free: 1.637 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.3052, allocations: 7.438 kB / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3052, allocations: 0 / 1.026 GB, free: 1.629 MB / 0.795 GB Notification: Performance of Templates: time 0.001744/0.3069, allocations: 324.3 kB / 1.027 GB, free: 1.312 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches