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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001014/0.001014, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00129/0.001289, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.855/2.855, allocations: 437.7 MB / 0.7117 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003791, allocations: 12 kB / 0.8722 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8072/0.8076, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007677/0.8084, allocations: 288.5 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 3.491e-05/0.8085, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.8085, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.8086, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.8086, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.68e-05/0.8086, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.8087, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.8088, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.8088, allocations: 3.984 kB / 1.023 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.432e-05/0.8088, allocations: 11.94 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.8088, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-06/0.8088, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.8089, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.8089, allocations: 25.7 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.755e-05/0.8089, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.809, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/0.809, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.809, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 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.000278/0.8093, allocations: 311.4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.8093, allocations: 8.031 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.8093, allocations: 3.906 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.8095, allocations: 159.1 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.8095, allocations: 4 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.8095, allocations: 0 / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.749e-05/0.8096, allocations: 41.64 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8096, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.8096, allocations: 3.938 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8096, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.8097, allocations: 7.938 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.81, allocations: 383.5 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.096e-05/0.8101, allocations: 169.1 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.8101, allocations: 84.08 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.8102, allocations: 75.28 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.8102, allocations: 109.8 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.8102, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.92e-05/0.8103, allocations: 29.7 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.8104, allocations: 130.7 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.801e-05/0.8105, allocations: 97.86 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.8105, allocations: 25.7 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.8105, allocations: 84.12 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.8106, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.8106, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.8107, allocations: 310.8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-06/0.8107, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.8107, allocations: 128 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/0.8107, allocations: 83.22 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.187e-05/0.8108, allocations: 79.28 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.65e-05/0.8108, allocations: 33.66 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.8109, allocations: 81 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.8109, allocations: 79.28 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.824e-05/0.811, allocations: 154.5 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.916e-05/0.811, allocations: 79.27 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.252e-05/0.8111, allocations: 158.5 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.8112, allocations: 79.28 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.8112, allocations: 79.31 kB / 1.026 GB, free: 12.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.8114, allocations: 264.4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.8114, allocations: 112.9 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.8115, allocations: 112.1 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.966e-05/0.8116, allocations: 180.2 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.877e-05/0.8117, allocations: 176.3 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.879e-05/0.8117, allocations: 180.3 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.812, allocations: 409.2 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/0.8121, allocations: 105 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.8121, allocations: 108.9 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.414e-05/0.8122, allocations: 180.2 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/0.8123, allocations: 180.3 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-05/0.8124, allocations: 184.2 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-05/0.8124, allocations: 184.2 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.8126, allocations: 307.7 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.8127, allocations: 190.4 kB / 1.028 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/0.8128, allocations: 184.2 kB / 1.028 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.8129, allocations: 101 kB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.813, allocations: 192.2 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.175e-05/0.8131, allocations: 101 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.8131, allocations: 83.27 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8131, allocations: 0 / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002865/0.8134, allocations: 4 kB / 1.029 GB, free: 8.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001541/0.8136, allocations: 170.5 kB / 1.029 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.673e-05/0.8136, allocations: 8.031 kB / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8136, allocations: 0 / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.8136, allocations: 0 / 1.029 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.814, allocations: 0.5185 MB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.8143, allocations: 154 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.8145, allocations: 0.6809 MB / 1.03 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.927e-06/0.8145, allocations: 0 / 1.03 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.8145, allocations: 7.438 kB / 1.03 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8145, allocations: 0 / 1.03 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of Templates: time 0.002108/0.8167, allocations: 152.1 kB / 1.031 GB, free: 7.148 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=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/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