Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.0007905/0.0007905, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008849/0.0008849, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8829/0.8829, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.769/1.769, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.651e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001186/0.001202, allocations: 0.6063 MB / 1 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002449, allocations: 1.124 MB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.002499, allocations: 3.938 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.002532, allocations: 0 / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.953e-05/0.002611, allocations: 15.92 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.003141, allocations: 122.3 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003289, allocations: 91.7 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.696e-05/0.003376, allocations: 4 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.003459, allocations: 47.95 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.003537, allocations: 23.95 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.003556, allocations: 11.94 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.00361, allocations: 20 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.00363, allocations: 7.969 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.003672, allocations: 23.98 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.003821, allocations: 99.77 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003823, allocations: 3.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003824, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003828, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000382/0.00421, allocations: 304 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.004249, allocations: 8.75 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.004275, allocations: 34.75 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.004308, allocations: 4.938 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.426e-05/0.004372, allocations: 101.8 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.004384, allocations: 8.375 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.004397, allocations: 4.375 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.491e-05/0.004472, allocations: 42.19 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.00448, allocations: 4.188 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.004487, allocations: 384 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.004493, allocations: 4.125 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.004524, allocations: 11.98 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.004817, allocations: 244 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.096e-05/0.004858, allocations: 22.5 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.209e-05/0.00487, allocations: 8.922 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.004879, allocations: 7.938 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.004992, allocations: 67.36 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.004993, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001647/0.005158, allocations: 61.62 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.005194, allocations: 55.41 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/0.005258, allocations: 105.8 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.005277, allocations: 29.7 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.005318, allocations: 88.09 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-06/0.005327, allocations: 3.953 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.005371, allocations: 33.7 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.005459, allocations: 318.8 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.005526, allocations: 61.69 kB / 1.003 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.005593, allocations: 80.5 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.005669, allocations: 84.22 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.005672, allocations: 0 / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001824/0.005854, allocations: 188.9 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.005883, allocations: 29.7 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005888, allocations: 4 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.00591, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.928e-05/0.005929, allocations: 8.078 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.005935, allocations: 4 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.006065, allocations: 27.97 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.006077, allocations: 4 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.213e-05/0.006139, allocations: 113.8 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.006148, allocations: 7.891 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.006169, allocations: 15.67 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006171, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006175, allocations: 4 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006178, allocations: 0 / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.076e-05/0.006258, allocations: 128.8 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.00626, allocations: 3.938 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-06/0.006263, allocations: 3.938 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.006264, allocations: 0 / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.006269, allocations: 0 / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.006272, allocations: 3.984 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006273, allocations: 4 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.056e-05/0.006344, allocations: 77.11 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.00635, allocations: 7.938 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.006359, allocations: 4 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-06/0.006366, allocations: 0 / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.006386, allocations: 0 / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.006392, allocations: 4 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.895e-05/0.006421, allocations: 87.27 kB / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006421, allocations: 0 / 1.004 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001382/0.006559, allocations: 12 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002575/0.006816, allocations: 0.6245 MB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001662/0.006982, allocations: 141 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.006984, allocations: 4.188 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.007003, allocations: 11.98 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.007154, allocations: 8 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.008211, allocations: 1.481 MB / 1.006 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.008247, allocations: 63.28 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.008266, allocations: 7.938 kB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.008292, allocations: 12.5 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.008292, allocations: 4 kB / 1.007 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.02392, allocations: 2.675 MB / 1.009 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/6.517, allocations: 0 / 1.009 GB, free: 3.398 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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: 10.548193557187915]