Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_9_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.001242/0.001242, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009642/0.009642, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.9 MB / 0.6664 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8156, allocations: 142.4 MB / 0.9552 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0009587/0.8166, allocations: 353.2 kB / 0.9555 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.8179, allocations: 1.108 MB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.818, allocations: 0 / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.818, allocations: 5.344 kB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.818, allocations: 3.984 kB / 0.9566 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.8185, allocations: 119.9 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.8186, allocations: 70.86 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.8187, allocations: 3.719 kB / 0.9568 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.8188, allocations: 31.77 kB / 0.9568 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.8189, allocations: 22.77 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.8189, allocations: 4.719 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.819, allocations: 22.08 kB / 0.9569 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.819, allocations: 5.156 kB / 0.9569 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.8191, allocations: 55.67 kB / 0.9569 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.8192, allocations: 70.56 kB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8192, allocations: 1.188 kB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.195e-06/0.8192, allocations: 0 / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8193, allocations: 0 / 0.957 GB, free: 6.199 MB / 0.7169 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.0003956/0.8197, allocations: 361.6 kB / 0.9573 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.8197, allocations: 10.16 kB / 0.9574 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.8198, allocations: 34.73 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.8198, allocations: 5.281 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.8199, allocations: 165.4 kB / 0.9576 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8199, allocations: 11.16 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.82, allocations: 5.5 kB / 0.9576 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.8201, allocations: 39.62 kB / 0.9576 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.8201, allocations: 3.938 kB / 0.9576 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.8201, allocations: 1.344 kB / 0.9576 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.8201, allocations: 3.938 kB / 0.9576 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.079e-05/0.8202, allocations: 16.45 kB / 0.9576 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.8205, allocations: 291 kB / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.577e-05/0.8206, allocations: 21.42 kB / 0.9579 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.8206, allocations: 7.547 kB / 0.9579 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-06/0.8206, allocations: 0 / 0.9579 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.348e-05/0.8207, allocations: 62.73 kB / 0.958 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8207, allocations: 0 / 0.958 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001693/0.8209, allocations: 63.05 kB / 0.9581 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.8209, allocations: 60.8 kB / 0.9581 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.693e-05/0.821, allocations: 103.3 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.821, allocations: 32.34 kB / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.821, allocations: 90.86 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.8211, allocations: 5.188 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.8211, allocations: 20.44 kB / 0.9584 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.8212, allocations: 314.8 kB / 0.9587 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.8212, allocations: 28.88 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.8213, allocations: 51.31 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.557e-05/0.8214, allocations: 77.36 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8214, allocations: 3.938 kB / 0.9588 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002123/0.8216, allocations: 142.6 kB / 0.9589 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.8217, allocations: 38.27 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8217, allocations: 96 / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8217, allocations: 9.672 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.707e-05/0.8217, allocations: 5.234 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.8217, allocations: 0 / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.8219, allocations: 34 kB / 0.959 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.822, allocations: 6.125 kB / 0.959 GB, free: 4.102 MB / 0.7169 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.668e-05/0.822, allocations: 125.6 kB / 0.9592 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.8221, allocations: 5.656 kB / 0.9592 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.92e-05/0.8221, allocations: 5.469 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8221, allocations: 0 / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8221, allocations: 4 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8221, allocations: 0 / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.356e-05/0.8222, allocations: 163.4 kB / 0.9593 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8222, allocations: 0 / 0.9593 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.212e-06/0.8222, allocations: 6.078 kB / 0.9593 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8222, allocations: 4 kB / 0.9593 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.8222, allocations: 1.969 kB / 0.9593 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.8222, allocations: 0 / 0.9593 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8222, allocations: 3.938 kB / 0.9593 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.05e-05/0.8223, allocations: 77.47 kB / 0.9594 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.8223, allocations: 78.3 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.8224, allocations: 8.766 kB / 0.9595 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.8224, allocations: 1.406 kB / 0.9595 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.8224, allocations: 9.594 kB / 0.9595 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.8224, allocations: 1.656 kB / 0.9595 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.309e-05/0.8224, allocations: 78.25 kB / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8224, allocations: 1.5 kB / 0.9596 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002008/0.8226, allocations: 17.45 kB / 0.9596 GB, free: 3.477 MB / 0.7169 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.0002833/0.8229, allocations: 0.63 MB / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.8231, allocations: 115.2 kB / 0.9603 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8231, allocations: 0 / 0.9603 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.8232, allocations: 20.11 kB / 0.9603 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.8234, allocations: 4.375 kB / 0.9603 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.8244, allocations: 1.357 MB / 0.9617 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.679e-05/0.8245, allocations: 0.6823 MB / 0.9623 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.79e-05/0.8245, allocations: 1.375 kB / 0.9623 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.8245, allocations: 14.19 kB / 0.9624 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8246, allocations: 0 / 0.9624 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.8349, allocations: 1.69 MB / 0.964 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.8351, allocations: 207.3 kB / 0.9642 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.564, allocations: 0 / 0.9642 GB, free: 15.66 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches