Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001919/0.001919, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002528/0.002528, allocations: 212.5 kB / 22.24 MB, free: 4.855 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.809 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.817/2.817, allocations: 476 MB / 0.7699 GB, free: 4.719 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.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.002149/0.002149, allocations: 66.95 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002465/0.3848, allocations: 0.6059 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3868, allocations: 1.133 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.3869, allocations: 4 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.3869, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.173e-05/0.387, allocations: 7.922 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.3876, allocations: 117.8 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3878, allocations: 83.89 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.3879, allocations: 8 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.388, allocations: 43.84 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3881, allocations: 23.95 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.3881, allocations: 8 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.3882, allocations: 19.98 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.3882, allocations: 7.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.061e-05/0.3883, allocations: 27.97 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.3885, allocations: 79.31 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3885, allocations: 4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3885, allocations: 3.938 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.3885, allocations: 0 / 1.285 GB, free: 10.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005843/0.3891, allocations: 301.7 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3891, allocations: 12.03 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.3892, allocations: 34.75 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3892, allocations: 4.938 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3894, allocations: 106.5 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3894, allocations: 4.312 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3894, allocations: 4.375 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3895, allocations: 46.19 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3895, allocations: 3.938 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3895, allocations: 0 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3896, allocations: 0 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.066e-05/0.3896, allocations: 15.98 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.3901, allocations: 247.9 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.695e-05/0.3901, allocations: 26.5 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.3901, allocations: 8.844 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.3902, allocations: 0 / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.3903, allocations: 55.47 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3903, allocations: 0 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002286/0.3906, allocations: 69.61 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3906, allocations: 51.41 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.3907, allocations: 109.8 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3908, allocations: 29.7 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.3908, allocations: 88.09 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.3908, allocations: 3.953 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.3909, allocations: 29.7 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3911, allocations: 322.8 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3912, allocations: 61.92 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3913, allocations: 80.27 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.3914, allocations: 80.2 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3914, allocations: 4 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002908/0.3917, allocations: 181 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.3918, allocations: 33.7 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3918, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3918, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.085e-05/0.3918, allocations: 4 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3918, allocations: 3.984 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.392, allocations: 31.91 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3921, allocations: 4.094 kB / 1.287 GB, free: 7.93 MB / 0.9825 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 0.000105/0.3922, allocations: 117.8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.3922, allocations: 11.89 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.3922, allocations: 11.62 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3922, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3922, allocations: 3.984 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3922, allocations: 4 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.3924, allocations: 128.7 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3924, allocations: 0 / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-06/0.3924, allocations: 3.938 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3924, allocations: 4 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3924, allocations: 4 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3924, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/0.3924, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3925, allocations: 81.06 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.3925, allocations: 3.984 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.3925, allocations: 288 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.313e-05/0.3926, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.3926, allocations: 4 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3926, allocations: 0 / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.3926, allocations: 91.33 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3926, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002185/0.3929, allocations: 20 kB / 1.287 GB, free: 7.379 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: 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.0005251/0.3934, allocations: 0.6279 MB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.3937, allocations: 133 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3937, allocations: 4 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.3937, allocations: 8 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3939, allocations: 7.984 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3957, allocations: 1.489 MB / 1.289 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.3958, allocations: 59.34 kB / 1.289 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.529e-05/0.3958, allocations: 4 kB / 1.289 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.3958, allocations: 11.44 kB / 1.289 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3958, allocations: 3.938 kB / 1.289 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.4301, allocations: 2.534 MB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.63, allocations: 8.594 kB / 1.292 GB, free: 2.449 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.490235777106136]