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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006702/0.006702, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001378/0.001378, allocations: 199.4 kB / 16.67 MB, free: 5.531 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.805/2.805, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233/1.234, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002445/1.237, allocations: 0.6196 MB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002096/1.239, allocations: 1.115 MB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/1.239, allocations: 0 / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/1.239, allocations: 3.938 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/1.239, allocations: 4 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/1.24, allocations: 118.2 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/1.24, allocations: 91.88 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/1.241, allocations: 15.98 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/1.241, allocations: 35.86 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/1.241, allocations: 31.94 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/1.241, allocations: 8 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/1.241, allocations: 23.98 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/1.241, allocations: 11.88 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/1.241, allocations: 27.92 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/1.241, allocations: 75.84 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.241, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.609e-06/1.241, allocations: 4 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.692e-06/1.241, allocations: 3.938 kB / 1.169 GB, free: 1.633 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.0006241/1.242, allocations: 377.7 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/1.242, allocations: 8.922 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/1.242, allocations: 12.89 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.242, allocations: 164.4 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.242, allocations: 4.375 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/1.242, allocations: 4.375 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/1.242, allocations: 46.19 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.242, allocations: 4.188 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/1.242, allocations: 3.938 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.242, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/1.243, allocations: 8 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/1.243, allocations: 292.8 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.558e-05/1.243, allocations: 26.44 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/1.243, allocations: 8.922 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/1.243, allocations: 4 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/1.243, allocations: 63.38 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/1.243, allocations: 0 / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002386/1.244, allocations: 65.58 kB / 1.17 GB, free: 396 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/1.244, allocations: 51.41 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/1.244, allocations: 105.8 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/1.244, allocations: 33.7 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/1.244, allocations: 84.14 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/1.244, allocations: 7.953 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/1.244, allocations: 33.69 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002359/1.244, allocations: 314.8 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/1.244, allocations: 27.98 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/1.245, allocations: 46.56 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/1.245, allocations: 88.14 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.245, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002823/1.245, allocations: 143.3 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/1.245, allocations: 36.19 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.245, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.245, allocations: 3.938 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.06e-05/1.245, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/1.245, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/1.245, allocations: 32.02 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/1.245, allocations: 15.92 kB / 1.171 GB, free: 15.29 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.599e-05/1.246, allocations: 113.8 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/1.246, allocations: 0 / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/1.246, allocations: 11.5 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/1.246, allocations: 0 / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.246, allocations: 4.25 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.246, allocations: 4 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/1.246, allocations: 165.6 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.246, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-06/1.246, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.246, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/1.246, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.246, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/1.246, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/1.246, allocations: 81.06 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/1.246, allocations: 89.33 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/1.246, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/1.246, allocations: 0 / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/1.246, allocations: 4 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/1.246, allocations: 3.984 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.43e-05/1.246, allocations: 87.27 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.843e-06/1.246, allocations: 0 / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002336/1.246, allocations: 19.94 kB / 1.171 GB, free: 14.61 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.000188/1.247, allocations: 107.2 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002415/1.247, allocations: 115.4 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.247, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/1.247, allocations: 19.92 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/1.247, allocations: 7.938 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/1.247, allocations: 114 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/1.248, allocations: 0.6809 MB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.83e-05/1.248, allocations: 3.984 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/1.248, allocations: 15.38 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/1.248, allocations: 0 / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.004391/1.252, allocations: 1.051 MB / 1.173 GB, free: 12.44 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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