Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.005716/0.005716, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001451/0.001451, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.479/1.479, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001521, allocations: 59.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.7272, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00173/0.729, allocations: 0.6179 MB / 0.9502 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.886e-05/0.7291, allocations: 5.531 kB / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.7291, allocations: 0 / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.7291, allocations: 0 / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.271e-05/0.7292, allocations: 0 / 0.9502 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.25e-05/0.7292, allocations: 5.125 kB / 0.9502 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.735e-05/0.7293, allocations: 5.125 kB / 0.9502 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.7293, allocations: 5.453 kB / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.7293, allocations: 0 / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.651e-05/0.7293, allocations: 1.312 kB / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.7294, allocations: 0 / 0.9502 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.747e-06/0.7294, allocations: 4 kB / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.7294, allocations: 0 / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.7294, allocations: 1.312 kB / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.232e-05/0.7295, allocations: 0 / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7295, allocations: 1.219 kB / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7295, allocations: 0 / 0.9502 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.7295, allocations: 0 / 0.9502 GB, free: 8.625 MB / 0.7169 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.0002245/0.7297, allocations: 315.1 kB / 0.9505 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.7298, allocations: 9.062 kB / 0.9505 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.7298, allocations: 2.5 kB / 0.9505 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.694e-05/0.7299, allocations: 168.3 kB / 0.9507 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.7299, allocations: 4.312 kB / 0.9507 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.7299, allocations: 1.625 kB / 0.9507 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/0.73, allocations: 35.38 kB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.73, allocations: 1.406 kB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.73, allocations: 3.938 kB / 0.9508 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.73, allocations: 0 / 0.9508 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.395e-05/0.73, allocations: 1.125 kB / 0.9508 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002071/0.7302, allocations: 387.4 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.683e-05/0.7303, allocations: 178.4 kB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.7303, allocations: 80.14 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.7303, allocations: 80.66 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.7303, allocations: 109.8 kB / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7303, allocations: 0 / 0.9516 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.744e-05/0.7304, allocations: 27.27 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.7304, allocations: 126.7 kB / 0.9517 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.7305, allocations: 97.89 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.7305, allocations: 29.64 kB / 0.9518 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.368e-05/0.7305, allocations: 84.12 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.7305, allocations: 1.344 kB / 0.9519 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.7306, allocations: 15.09 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.7306, allocations: 310.8 kB / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.7306, allocations: 0 / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-06/0.7306, allocations: 2.094 kB / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.057e-05/0.7306, allocations: 75.28 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.7307, allocations: 75.28 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.381e-05/0.7307, allocations: 32.95 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7307, allocations: 84.5 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.7308, allocations: 84.47 kB / 0.9526 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.7308, allocations: 156.2 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-06/0.7308, allocations: 75.28 kB / 0.9528 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.7308, allocations: 155.6 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.7309, allocations: 80.97 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.7309, allocations: 79.22 kB / 0.9531 GB, free: 5.531 MB / 0.7169 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 5.271e-05/0.731, allocations: 266.7 kB / 0.9533 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.731, allocations: 106.6 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.731, allocations: 115.8 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/0.7311, allocations: 182.9 kB / 0.9537 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.7311, allocations: 177.9 kB / 0.9539 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/0.7311, allocations: 188.2 kB / 0.9541 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.7312, allocations: 408.1 kB / 0.9545 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.7313, allocations: 104.9 kB / 0.9546 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.7313, allocations: 102.3 kB / 0.9546 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.101e-05/0.7313, allocations: 178 kB / 0.9548 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.7313, allocations: 188.2 kB / 0.955 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.409e-05/0.7314, allocations: 177.6 kB / 0.9552 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.527e-05/0.7314, allocations: 186 kB / 0.9553 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.067e-05/0.7315, allocations: 302.6 kB / 0.9556 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.7315, allocations: 195.2 kB / 0.9558 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.7315, allocations: 177.5 kB / 0.956 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.7316, allocations: 110.2 kB / 0.9561 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.7316, allocations: 177.6 kB / 0.9563 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.7316, allocations: 101 kB / 0.9564 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.7317, allocations: 85.89 kB / 0.9564 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.52e-07/0.7317, allocations: 96 / 0.9564 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002457/0.7319, allocations: 9.188 kB / 0.9565 GB, free: 1.871 MB / 0.7169 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.0001402/0.7321, allocations: 175.5 kB / 0.9566 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.895e-05/0.7321, allocations: 1.312 kB / 0.9566 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7321, allocations: 0 / 0.9566 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/0.7321, allocations: 1.781 kB / 0.9566 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.7324, allocations: 0.5238 MB / 0.9571 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.7326, allocations: 183.8 kB / 0.9573 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.7327, allocations: 0.6743 MB / 0.958 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.7328, allocations: 8.938 kB / 0.958 GB, free: 268 kB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/0.7328, allocations: 0 / 0.958 GB, free: 268 kB / 0.7169 GB Notification: Performance of Templates: time 0.001464/0.7342, allocations: 319.2 kB / 0.9583 GB, free: 112 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches