Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002394/0.002394, allocations: 215.5 kB / 22.25 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.33 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002236/0.3567, allocations: 0.5654 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 6.278e-05/0.3568, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.3568, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.3568, allocations: 3.938 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.733e-05/0.3569, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.482e-05/0.3569, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.357, allocations: 4 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.512e-05/0.357, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.3571, allocations: 3.984 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.3571, allocations: 7.938 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3571, allocations: 4 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.3571, allocations: 4 kB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.3571, allocations: 0 / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.3571, allocations: 3.938 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.838e-05/0.3572, allocations: 3.984 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3572, allocations: 0 / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3572, allocations: 0 / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3572, allocations: 0 / 1.284 GB, free: 11.13 MB / 0.9825 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.0003824/0.3576, allocations: 238 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.3577, allocations: 12.03 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.3577, allocations: 34.75 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.3577, allocations: 0.9375 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3579, allocations: 106.5 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3579, allocations: 384 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3579, allocations: 8.312 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.358, allocations: 26.27 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.358, allocations: 3.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.358, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.358, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.3581, allocations: 8 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3585, allocations: 350.6 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3586, allocations: 181 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.3586, allocations: 80.14 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.785e-05/0.3587, allocations: 79.28 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.3588, allocations: 109.8 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3588, allocations: 0 / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.526e-05/0.3589, allocations: 33.69 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.359, allocations: 130.6 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3591, allocations: 97.84 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3591, allocations: 29.7 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.3591, allocations: 84.27 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.3591, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.3592, allocations: 9.719 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3593, allocations: 310.8 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.193e-06/0.3593, allocations: 128 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-06/0.3593, allocations: 0 / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.3594, allocations: 83.28 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/0.3594, allocations: 79.22 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.018e-05/0.3595, allocations: 29.7 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.3595, allocations: 83.28 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/0.3596, allocations: 83.2 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.294e-05/0.3597, allocations: 158.5 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-05/0.3597, allocations: 79.22 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-05/0.3598, allocations: 154.6 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.3598, allocations: 79.28 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.3599, allocations: 81.02 kB / 1.287 GB, free: 8.145 MB / 0.9825 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.0001469/0.36, allocations: 260.3 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-05/0.3601, allocations: 113 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.3602, allocations: 108.1 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-05/0.3602, allocations: 176.3 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.49e-05/0.3603, allocations: 180.3 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001199/0.3604, allocations: 184.2 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.3607, allocations: 376.2 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-05/0.3608, allocations: 112.9 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.3608, allocations: 101 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.942e-05/0.3609, allocations: 184.3 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.743e-05/0.361, allocations: 184.2 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.461e-05/0.3611, allocations: 180.3 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.523e-05/0.3612, allocations: 184.2 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.3613, allocations: 312.1 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.3614, allocations: 108.9 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.319e-05/0.3615, allocations: 176.3 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3616, allocations: 112.9 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.3617, allocations: 176.3 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.3617, allocations: 108.9 kB / 1.29 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.3618, allocations: 83.28 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3618, allocations: 0 / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002747/0.362, allocations: 0 / 1.29 GB, free: 4.602 MB / 0.9825 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.0005113/0.3626, allocations: 0.8069 MB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.928e-05/0.3626, allocations: 4.094 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.3626, allocations: 4 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.3626, allocations: 3.938 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.363, allocations: 451.7 kB / 1.291 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3642, allocations: 1.524 MB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.3646, allocations: 0.6769 MB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.544e-06/0.3646, allocations: 0 / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.3646, allocations: 7.438 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3646, allocations: 0 / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.3901, allocations: 1.016 MB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.5, allocations: 9.609 kB / 1.294 GB, free: 112 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.15247173490934]