Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005162/0.005162, allocations: 100 kB / 15.73 MB, free: 6.043 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.001124/0.001124, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 67.91 kB / 1.054 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3554, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001651/0.3571, allocations: 0.5361 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 3.979e-05/0.3571, allocations: 7.938 kB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.3572, allocations: 0 / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.3572, allocations: 0 / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.896e-05/0.3572, allocations: 0 / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.114e-05/0.3573, allocations: 7.922 kB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.3573, allocations: 0 / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.3574, allocations: 8.062 kB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.46e-05/0.3574, allocations: 4 kB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.453e-05/0.3574, allocations: 0 / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3574, allocations: 0 / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-06/0.3574, allocations: 0 / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.3575, allocations: 3.984 kB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.3575, allocations: 0 / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.607e-05/0.3575, allocations: 7.938 kB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3575, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3576, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.3576, allocations: 0 / 1.208 GB, free: 9.559 MB / 0.9669 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.0002768/0.3578, allocations: 323.6 kB / 1.208 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3579, allocations: 8.625 kB / 1.208 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.3579, allocations: 30.75 kB / 1.208 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.358, allocations: 4.875 kB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3581, allocations: 164.4 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3581, allocations: 384 / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.3581, allocations: 384 / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/0.3582, allocations: 30.25 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.3582, allocations: 7.938 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.692e-06/0.3582, allocations: 0 / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3582, allocations: 4 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.475e-05/0.3583, allocations: 0 / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.3586, allocations: 391.4 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.3586, allocations: 169.1 kB / 1.209 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.3587, allocations: 92.08 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.3587, allocations: 75.28 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3588, allocations: 105.8 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3588, allocations: 0 / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.174e-05/0.3588, allocations: 33.64 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3589, allocations: 126.7 kB / 1.209 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.359, allocations: 101.8 kB / 1.209 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.359, allocations: 29.7 kB / 1.209 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.359, allocations: 80.14 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.359, allocations: 0 / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.3591, allocations: 9.719 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3592, allocations: 310.8 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/0.3592, allocations: 4 kB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.548e-06/0.3592, allocations: 128 / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.3592, allocations: 79.28 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-05/0.3593, allocations: 79.22 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.501e-05/0.3593, allocations: 33.58 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.3594, allocations: 83.28 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.3594, allocations: 75.28 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.493e-05/0.3595, allocations: 158.5 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.124e-05/0.3595, allocations: 83.22 kB / 1.21 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.427e-05/0.3595, allocations: 154.6 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.3596, allocations: 79.22 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.3596, allocations: 75.28 kB / 1.211 GB, free: 6.375 MB / 0.9669 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.0001025/0.3597, allocations: 264.3 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3598, allocations: 105 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.3599, allocations: 116 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-05/0.3599, allocations: 176.8 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.147e-05/0.36, allocations: 188.2 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.651e-05/0.36, allocations: 176.3 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3602, allocations: 405.2 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.3603, allocations: 113.2 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.3603, allocations: 105 kB / 1.212 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.124e-05/0.3604, allocations: 184.2 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.3604, allocations: 180.2 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-05/0.3605, allocations: 184.2 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.924e-05/0.3606, allocations: 176.3 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3607, allocations: 315.7 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.3607, allocations: 178.1 kB / 1.213 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.291e-05/0.3608, allocations: 184.2 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3609, allocations: 105 kB / 1.214 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.361, allocations: 180.3 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.361, allocations: 112.8 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.361, allocations: 79.28 kB / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.361, allocations: 0 / 1.214 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002309/0.3613, allocations: 0 / 1.214 GB, free: 2.703 MB / 0.9669 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.0003801/0.3617, allocations: 0.8127 MB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.007e-05/0.3617, allocations: 3.938 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3617, allocations: 0 / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.3617, allocations: 0 / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.362, allocations: 459.7 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.363, allocations: 1.539 MB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.3632, allocations: 0.6728 MB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.675e-06/0.3633, allocations: 0 / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.3633, allocations: 7.438 kB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3633, allocations: 0 / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.3785, allocations: 0.9436 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.647, allocations: 1.031 kB / 1.218 GB, free: 14.27 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches