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: "" <> 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.0009036/0.0009036, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.006668/0.006668, allocations: 171 kB / 16.27 MB, free: 6.324 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.302/2.302, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7501, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007217/0.7509, allocations: 284.6 kB / 0.9555 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 3.877e-05/0.7509, allocations: 4 kB / 0.9555 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.751, allocations: 5.375 kB / 0.9555 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.751, allocations: 0 / 0.9555 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.907e-05/0.751, allocations: 0 / 0.9555 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.956e-05/0.7511, allocations: 0 / 0.9555 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.7511, allocations: 6.25 kB / 0.9555 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.7512, allocations: 5.188 kB / 0.9555 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.503e-05/0.7512, allocations: 0 / 0.9555 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.804e-05/0.7512, allocations: 0 / 0.9555 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.7512, allocations: 1.906 kB / 0.9555 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-06/0.7512, allocations: 0 / 0.9555 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.7513, allocations: 4 kB / 0.9555 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.7513, allocations: 29.69 kB / 0.9555 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.444e-05/0.7514, allocations: 5.766 kB / 0.9555 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7514, allocations: 0 / 0.9555 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7514, allocations: 0 / 0.9555 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7514, allocations: 3.938 kB / 0.9555 GB, free: 7.402 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.00021/0.7516, allocations: 310.3 kB / 0.9558 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7517, allocations: 9.125 kB / 0.9558 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.7517, allocations: 34.75 kB / 0.9559 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.7517, allocations: 2.375 kB / 0.9559 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.334e-05/0.7518, allocations: 172.2 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.7518, allocations: 384 / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.7518, allocations: 5.984 kB / 0.956 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.7519, allocations: 31.73 kB / 0.9561 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.7519, allocations: 3.938 kB / 0.9561 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.7519, allocations: 0 / 0.9561 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.752, allocations: 1.156 kB / 0.9561 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.532e-05/0.752, allocations: 1.031 kB / 0.9561 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.7522, allocations: 382.4 kB / 0.9564 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.7523, allocations: 174.2 kB / 0.9566 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.7523, allocations: 80.98 kB / 0.9567 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.7523, allocations: 75.28 kB / 0.9568 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.7523, allocations: 118.9 kB / 0.9569 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.7523, allocations: 1.125 kB / 0.9569 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.479e-05/0.7524, allocations: 26.8 kB / 0.9569 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.7525, allocations: 130.6 kB / 0.957 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.7525, allocations: 92.7 kB / 0.9571 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.7525, allocations: 26.73 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.837e-05/0.7526, allocations: 84.14 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.7526, allocations: 128 / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.7526, allocations: 14.53 kB / 0.9572 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.7526, allocations: 311.8 kB / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-06/0.7526, allocations: 0 / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-06/0.7527, allocations: 0 / 0.9575 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.326e-05/0.7527, allocations: 80.36 kB / 0.9576 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.7527, allocations: 79.22 kB / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.641e-05/0.7527, allocations: 28.83 kB / 0.9577 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.7528, allocations: 79.53 kB / 0.9578 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.7528, allocations: 84.19 kB / 0.9579 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/0.7528, allocations: 152.1 kB / 0.958 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-05/0.7529, allocations: 80.31 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.7529, allocations: 159.4 kB / 0.9582 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.753, allocations: 84.23 kB / 0.9583 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.753, allocations: 80.34 kB / 0.9584 GB, free: 4.27 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 6.34e-05/0.753, allocations: 265.5 kB / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.7531, allocations: 102 kB / 0.9587 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.7531, allocations: 112.7 kB / 0.9588 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/0.7531, allocations: 182.9 kB / 0.959 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/0.7532, allocations: 181.2 kB / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.7532, allocations: 185.4 kB / 0.9594 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.7534, allocations: 399 kB / 0.9598 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.7534, allocations: 113.9 kB / 0.9599 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.597e-05/0.7534, allocations: 105.9 kB / 0.96 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.499e-05/0.7534, allocations: 177 kB / 0.9601 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.7535, allocations: 189.3 kB / 0.9603 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-05/0.7535, allocations: 177.1 kB / 0.9605 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.814e-05/0.7535, allocations: 185.6 kB / 0.9607 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.274e-05/0.7536, allocations: 304.2 kB / 0.9609 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.7537, allocations: 186 kB / 0.9611 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.7537, allocations: 185.6 kB / 0.9613 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.295e-05/0.7538, allocations: 110.2 kB / 0.9614 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.7538, allocations: 181.3 kB / 0.9616 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.7538, allocations: 102.7 kB / 0.9617 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.7538, allocations: 80.47 kB / 0.9618 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7538, allocations: 2.25 kB / 0.9618 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002359/0.7541, allocations: 4.094 kB / 0.9618 GB, free: 0.6172 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.0003106/0.7544, allocations: 0.8052 MB / 0.9625 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 3.375e-05/0.7544, allocations: 0 / 0.9625 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7544, allocations: 0 / 0.9625 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-06/0.7545, allocations: 9.125 kB / 0.9626 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.7548, allocations: 0.5197 MB / 0.9631 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009397/0.7558, allocations: 1.525 MB / 0.9646 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.756, allocations: 0.6705 MB / 0.9652 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.476e-06/0.756, allocations: 4.094 kB / 0.9652 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.756, allocations: 16.3 kB / 0.9652 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.756, allocations: 0 / 0.9652 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009622/0.7657, allocations: 0.7249 MB / 0.9659 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.7659, allocations: 209.1 kB / 0.9661 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.519, allocations: 6.609 kB / 0.9661 GB, free: 12.4 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