Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.Not,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not",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.005469/0.005469, allocations: 99.62 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.001431/0.001431, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9096/0.9109, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001969/0.9129, allocations: 0.6212 MB / 1.167 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.9144, allocations: 1.111 MB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.9145, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.9146, allocations: 3.938 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.9147, allocations: 3.984 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.9152, allocations: 122.6 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.9154, allocations: 95.88 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.9155, allocations: 8 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.9156, allocations: 39.84 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.9157, allocations: 31.89 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.9158, allocations: 12 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.9158, allocations: 19.98 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.9159, allocations: 4 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.9159, allocations: 31.91 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.9161, allocations: 75.8 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9161, allocations: 0 / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9161, allocations: 0 / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9161, allocations: 0 / 1.168 GB, free: 1.594 MB / 0.8887 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.0005076/0.9166, allocations: 379.4 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.9167, allocations: 8.922 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.9167, allocations: 38.75 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.9168, allocations: 4.938 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.9169, allocations: 172.3 kB / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.9169, allocations: 384 / 1.169 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.917, allocations: 8.375 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.9171, allocations: 38.25 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.9171, allocations: 3.938 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.9171, allocations: 0 / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.9171, allocations: 0 / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.741e-05/0.9171, allocations: 11.98 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.9175, allocations: 300.7 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/0.9176, allocations: 30.44 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.9176, allocations: 8.844 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.9176, allocations: 0 / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.9177, allocations: 55.47 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9177, allocations: 4 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0001894/0.9179, allocations: 65.61 kB / 1.169 GB, free: 308 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.918, allocations: 55.41 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.9181, allocations: 101.8 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.9181, allocations: 33.7 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.9181, allocations: 84.05 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.9182, allocations: 4.047 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.9182, allocations: 29.66 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9183, allocations: 326.8 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.9184, allocations: 27.98 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.9185, allocations: 46.56 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.9186, allocations: 84.14 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9186, allocations: 0 / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002494/0.9189, allocations: 151.2 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.9189, allocations: 33.7 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9189, allocations: 3.984 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.919, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-05/0.919, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.919, allocations: 7.984 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.9192, allocations: 27.97 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.9192, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 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 9.082e-05/0.9193, allocations: 121.8 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.9193, allocations: 7.984 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.9194, allocations: 7.5 kB / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9194, allocations: 320 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9194, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.9194, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.9195, allocations: 165.6 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9195, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.9195, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.9196, allocations: 3.984 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.9196, allocations: 4 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9196, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9196, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.9197, allocations: 84.97 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.9197, allocations: 77.11 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.9198, allocations: 288 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.9198, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.9198, allocations: 15.86 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.9198, allocations: 4 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.289e-05/0.9199, allocations: 83.28 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9199, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002149/0.9201, allocations: 20 kB / 1.171 GB, free: 14.52 MB / 0.9044 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.0004515/0.9206, allocations: 0.6202 MB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.9208, allocations: 123.3 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9208, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.9208, allocations: 19.92 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.9211, allocations: 4 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.9224, allocations: 1.365 MB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.9226, allocations: 0.6768 MB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.075e-05/0.9227, allocations: 4 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.9227, allocations: 11.44 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9227, allocations: 0 / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.9419, allocations: 1.92 MB / 1.176 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.578, allocations: 11.88 kB / 1.176 GB, free: 9.699 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches