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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001175, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6647 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6594, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001687/0.6611, allocations: 0.5452 MB / 0.9503 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.791e-05/0.6612, allocations: 3.984 kB / 0.9503 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.432e-05/0.6612, allocations: 1.438 kB / 0.9503 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.6612, allocations: 0 / 0.9503 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.29e-05/0.6612, allocations: 0 / 0.9503 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.816e-05/0.6613, allocations: 0 / 0.9503 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.739e-05/0.6613, allocations: 5.281 kB / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.6614, allocations: 2.906 kB / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.6614, allocations: 0 / 0.9503 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.603e-05/0.6614, allocations: 3.938 kB / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.6614, allocations: 0 / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.6614, allocations: 5.469 kB / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.6615, allocations: 4 kB / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.6615, allocations: 0 / 0.9503 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.667e-05/0.6615, allocations: 5.734 kB / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6615, allocations: 0 / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6616, allocations: 0 / 0.9503 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6616, allocations: 1.656 kB / 0.9503 GB, free: 8.738 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.0002171/0.6618, allocations: 306.4 kB / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6618, allocations: 8.375 kB / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.479e-05/0.6619, allocations: 36.19 kB / 0.9506 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.909e-05/0.6619, allocations: 8.844 kB / 0.9507 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.493e-05/0.6619, allocations: 165.6 kB / 0.9508 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.662, allocations: 4.312 kB / 0.9508 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-06/0.662, allocations: 1.844 kB / 0.9508 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.452e-05/0.662, allocations: 27.3 kB / 0.9508 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6621, allocations: 3.938 kB / 0.9508 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-06/0.6621, allocations: 1.25 kB / 0.9509 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6621, allocations: 3.938 kB / 0.9509 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.6621, allocations: 1.094 kB / 0.9509 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.6623, allocations: 383 kB / 0.9512 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.276e-05/0.6624, allocations: 170.3 kB / 0.9514 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.6624, allocations: 80.14 kB / 0.9515 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.6624, allocations: 80.31 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.6624, allocations: 119 kB / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.6624, allocations: 0 / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.807e-05/0.6625, allocations: 27.14 kB / 0.9517 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.6625, allocations: 126.7 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.6626, allocations: 96.62 kB / 0.9519 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.237e-06/0.6626, allocations: 27.02 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.396e-05/0.6626, allocations: 84.27 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.6626, allocations: 0 / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.6626, allocations: 15.16 kB / 0.952 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.748e-05/0.6627, allocations: 312.3 kB / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.6627, allocations: 0 / 0.9523 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-06/0.6627, allocations: 3.938 kB / 0.9523 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.219e-05/0.6627, allocations: 80.69 kB / 0.9524 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.6627, allocations: 79.22 kB / 0.9525 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.58e-05/0.6628, allocations: 31.14 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6628, allocations: 84.67 kB / 0.9526 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.6628, allocations: 76.81 kB / 0.9526 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6628, allocations: 155.9 kB / 0.9528 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-06/0.6628, allocations: 79.31 kB / 0.9529 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.6629, allocations: 159.8 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.6629, allocations: 76.84 kB / 0.9531 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.6629, allocations: 79.28 kB / 0.9532 GB, free: 5.609 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.381e-05/0.663, allocations: 270 kB / 0.9534 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.663, allocations: 103 kB / 0.9535 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.6631, allocations: 111.9 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.6631, allocations: 185.6 kB / 0.9538 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/0.6631, allocations: 183 kB / 0.954 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.6631, allocations: 185.1 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.6633, allocations: 398.2 kB / 0.9545 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6633, allocations: 106.1 kB / 0.9546 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/0.6633, allocations: 110.2 kB / 0.9547 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/0.6633, allocations: 181.6 kB / 0.9549 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.6634, allocations: 181.4 kB / 0.9551 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-05/0.6634, allocations: 176.3 kB / 0.9553 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-05/0.6634, allocations: 177.6 kB / 0.9554 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.035e-05/0.6635, allocations: 319.4 kB / 0.9557 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.023e-05/0.6635, allocations: 183.8 kB / 0.9559 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.6635, allocations: 181.5 kB / 0.9561 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.6636, allocations: 106.2 kB / 0.9562 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.6636, allocations: 184.2 kB / 0.9564 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.6637, allocations: 106.1 kB / 0.9565 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.81e-05/0.6637, allocations: 81.88 kB / 0.9565 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6637, allocations: 3.938 kB / 0.9565 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002642/0.664, allocations: 0.7188 kB / 0.9565 GB, free: 1.953 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.0002303/0.6642, allocations: 0.81 MB / 0.9573 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 3.084e-05/0.6642, allocations: 5.281 kB / 0.9573 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6642, allocations: 0 / 0.9573 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.6643, allocations: 0 / 0.9573 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.6646, allocations: 459.2 kB / 0.9578 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008973/0.6655, allocations: 1.525 MB / 0.9593 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.6657, allocations: 0.6819 MB / 0.9599 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.613e-06/0.6658, allocations: 0 / 0.9599 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.6658, allocations: 8.781 kB / 0.9599 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of SimCode: time 3.6e-07/0.6658, allocations: 0 / 0.9599 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.6858, allocations: 0.8992 MB / 0.9608 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/8.242, allocations: 15.42 kB / 0.9608 GB, free: 13.84 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > 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