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.001418/0.001418, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001527/0.001527, allocations: 192.2 kB / 16.14 MB, free: 6.676 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.646/1.646, allocations: 222.9 MB / 239.8 MB, free: 4.406 MB / 190.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.97/2.97, allocations: 437 MB / 0.71 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 67.89 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8979, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00209/0.9001, allocations: 0.6129 MB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.994e-05/0.9001, allocations: 4 kB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.044e-05/0.9002, allocations: 3.938 kB / 1.017 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.9002, allocations: 4 kB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.329e-05/0.9003, allocations: 0 / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.49e-05/0.9003, allocations: 0 / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.9004, allocations: 7.938 kB / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.9004, allocations: 0 / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.839e-05/0.9005, allocations: 3.984 kB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.893e-05/0.9005, allocations: 3.938 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.9005, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-06/0.9005, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.9005, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.9006, allocations: 8 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.714e-05/0.9006, allocations: 7.938 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.9007, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9007, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.9007, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 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.0003902/0.9011, allocations: 315.5 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.9011, allocations: 8.031 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.9012, allocations: 0.9375 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.9013, allocations: 160.4 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.9013, allocations: 4.375 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.9013, allocations: 4.375 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.981e-05/0.9014, allocations: 30.2 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.9014, allocations: 192 / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.9015, allocations: 3.938 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.9015, allocations: 0 / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.9015, allocations: 8 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.9019, allocations: 379.5 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.902, allocations: 177 kB / 1.018 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.9021, allocations: 80.14 kB / 1.018 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.9021, allocations: 75.28 kB / 1.018 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.9022, allocations: 109.8 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.9022, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.479e-05/0.9023, allocations: 33.7 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.9024, allocations: 126.7 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.855e-05/0.9025, allocations: 97.86 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.9025, allocations: 25.7 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.9026, allocations: 84.08 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.9026, allocations: 0 / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.9026, allocations: 9.719 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.9028, allocations: 319 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-06/0.9028, allocations: 4 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.9028, allocations: 0 / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.074e-05/0.9028, allocations: 75.28 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-05/0.9029, allocations: 75.28 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.784e-05/0.9029, allocations: 33.64 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.903, allocations: 83.28 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/0.903, allocations: 79.22 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-05/0.9031, allocations: 158.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-05/0.9032, allocations: 79.22 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.842e-05/0.9033, allocations: 162.5 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.9033, allocations: 79.27 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-05/0.9034, allocations: 79.22 kB / 1.02 GB, free: 14.92 MB / 0.7794 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.0001684/0.9036, allocations: 273.1 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.9036, allocations: 101 kB / 1.02 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.9037, allocations: 104.1 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.084e-05/0.9038, allocations: 184.2 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.514e-05/0.9039, allocations: 180.3 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.022e-05/0.904, allocations: 180.2 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.9043, allocations: 409.2 kB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.885e-05/0.9044, allocations: 112.9 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.9044, allocations: 101 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.987e-05/0.9045, allocations: 176.3 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/0.9046, allocations: 184.2 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-05/0.9047, allocations: 188.2 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.824e-05/0.9048, allocations: 184.2 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.905, allocations: 308.2 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.9051, allocations: 182 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.9053, allocations: 180.2 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.9054, allocations: 117 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.9054, allocations: 180.2 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.9055, allocations: 101 kB / 1.023 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.549e-05/0.9056, allocations: 83.28 kB / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9056, allocations: 0 / 1.023 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002731/0.9058, allocations: 0 / 1.023 GB, free: 11.24 MB / 0.7794 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.0001793/0.906, allocations: 182.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.301e-05/0.9061, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9061, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.9061, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.9066, allocations: 0.5205 MB / 1.024 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.9068, allocations: 161.9 kB / 1.024 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.9072, allocations: 0.677 MB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.001e-05/0.9072, allocations: 0 / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.9072, allocations: 7.438 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2.444e-06/0.9072, allocations: 0 / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of Templates: time 0.002638/0.9099, allocations: 169.3 kB / 1.025 GB, free: 9.469 MB / 0.7794 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=400 -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/jenkins/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