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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 101.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 182 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.514/2.514, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 68.12 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7851, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001436/0.7865, allocations: 0.5619 MB / 1.272 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 3.28e-05/0.7866, allocations: 4.812 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.476e-05/0.7866, allocations: 0.6875 kB / 1.272 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.7866, allocations: 4 kB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.217e-05/0.7866, allocations: 0 / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.423e-05/0.7867, allocations: 3.562 kB / 1.272 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.7867, allocations: 5.562 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.7868, allocations: 1.391 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.078e-05/0.7868, allocations: 0.6875 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.529e-05/0.7868, allocations: 1.516 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.7868, allocations: 3.297 kB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-06/0.7868, allocations: 0 / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.7868, allocations: 4.781 kB / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.7868, allocations: 0 / 1.272 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.681e-05/0.7869, allocations: 7.172 kB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.7869, allocations: 0 / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7869, allocations: 4.75 kB / 1.272 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.7869, allocations: 0 / 1.272 GB, free: 7.355 MB / 0.9981 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.0001861/0.7871, allocations: 312.9 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.7871, allocations: 9.938 kB / 1.272 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.671e-05/0.7871, allocations: 34.69 kB / 1.272 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.618e-05/0.7871, allocations: 6.312 kB / 1.272 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.779e-05/0.7872, allocations: 162 kB / 1.272 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.7872, allocations: 5 kB / 1.272 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-06/0.7872, allocations: 1.219 kB / 1.272 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.791e-05/0.7873, allocations: 28.72 kB / 1.273 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7873, allocations: 4.656 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-06/0.7873, allocations: 0 / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.7873, allocations: 0.8125 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.249e-05/0.7873, allocations: 1.609 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.7875, allocations: 386.7 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.861e-05/0.7875, allocations: 170 kB / 1.273 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.7875, allocations: 81.14 kB / 1.273 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.7875, allocations: 75.84 kB / 1.273 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.7876, allocations: 111.4 kB / 1.273 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.7876, allocations: 4 kB / 1.273 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.275e-05/0.7876, allocations: 31.11 kB / 1.273 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.7876, allocations: 127.5 kB / 1.273 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.649e-05/0.7877, allocations: 94.41 kB / 1.274 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-06/0.7877, allocations: 26.31 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.005e-05/0.7877, allocations: 84.91 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.7877, allocations: 0.9062 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.7877, allocations: 15.09 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.955e-05/0.7877, allocations: 316.5 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-06/0.7877, allocations: 0 / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.7877, allocations: 0.75 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-06/0.7878, allocations: 75.97 kB / 1.274 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.7878, allocations: 79.88 kB / 1.274 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.366e-05/0.7878, allocations: 40.45 kB / 1.274 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.7878, allocations: 81.33 kB / 1.274 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.7878, allocations: 80 kB / 1.274 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.7879, allocations: 156.8 kB / 1.274 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-06/0.7879, allocations: 84.5 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.7879, allocations: 160.3 kB / 1.275 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.7879, allocations: 79.97 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.7879, allocations: 77.39 kB / 1.275 GB, free: 4.238 MB / 0.9981 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 3.98e-05/0.788, allocations: 265.7 kB / 1.275 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.788, allocations: 107.3 kB / 1.275 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.788, allocations: 110.9 kB / 1.275 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.7881, allocations: 181.9 kB / 1.275 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001039/0.7882, allocations: 182 kB / 1.276 GB, free: 19.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-05/0.7882, allocations: 182 kB / 1.276 GB, free: 19.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.7884, allocations: 405.4 kB / 1.276 GB, free: 18.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.919e-05/0.7885, allocations: 106.3 kB / 1.276 GB, free: 18.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.7885, allocations: 102.5 kB / 1.276 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.784e-05/0.7886, allocations: 182.8 kB / 1.277 GB, free: 18.35 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.7886, allocations: 176.9 kB / 1.277 GB, free: 18.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.639e-05/0.7887, allocations: 189.7 kB / 1.277 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-05/0.7888, allocations: 178.6 kB / 1.277 GB, free: 17.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.7889, allocations: 313.5 kB / 1.277 GB, free: 17.47 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.789, allocations: 180.8 kB / 1.278 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.789, allocations: 186.3 kB / 1.278 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.7891, allocations: 107 kB / 1.278 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.7892, allocations: 182 kB / 1.278 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.7892, allocations: 106.4 kB / 1.278 GB, free: 16.68 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.7893, allocations: 78.05 kB / 1.278 GB, free: 16.61 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.7893, allocations: 0 / 1.278 GB, free: 16.61 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002357/0.7895, allocations: 0.5938 kB / 1.278 GB, free: 16.61 MB / 1.014 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.0004097/0.7899, allocations: 0.8099 MB / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 3.367e-05/0.7899, allocations: 4.844 kB / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.7899, allocations: 1 kB / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-07/0.7899, allocations: 0 / 1.279 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.7903, allocations: 466.2 kB / 1.279 GB, free: 15.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/0.7912, allocations: 1.522 MB / 1.281 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.7915, allocations: 0.6706 MB / 1.282 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.232e-06/0.7915, allocations: 4.562 kB / 1.282 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.7915, allocations: 8.812 kB / 1.282 GB, free: 13.05 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.7915, allocations: 7.938 kB / 1.282 GB, free: 13.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.8127, allocations: 0.8915 MB / 1.282 GB, free: 12.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.748/7.56, allocations: 2.641 kB / 1.282 GB, free: 12.71 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 12.856575456000428]