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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_9_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_9_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.001684/0.001684, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.001949/0.00195, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.257/2.257, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3099, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002089/0.312, allocations: 0.61 MB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3135, allocations: 1.118 MB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.3135, allocations: 4 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.3135, allocations: 0 / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.3136, allocations: 3.938 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.3141, allocations: 127.1 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3143, allocations: 91.89 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.3144, allocations: 8 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.3144, allocations: 35.91 kB / 0.9531 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3145, allocations: 35.94 kB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.3146, allocations: 8 kB / 0.9531 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.3146, allocations: 23.98 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.3147, allocations: 3.938 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.3147, allocations: 35.91 kB / 0.9532 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.3149, allocations: 75.78 kB / 0.9533 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3149, allocations: 4 kB / 0.9533 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3149, allocations: 0 / 0.9533 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.3149, allocations: 0 / 0.9533 GB, free: 5.863 MB / 0.7325 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.0005144/0.3154, allocations: 377 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3155, allocations: 16.03 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.3156, allocations: 4.938 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.3157, allocations: 164.3 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3157, allocations: 4.375 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3157, allocations: 8.359 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3158, allocations: 34.27 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3159, allocations: 192 / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3159, allocations: 11.91 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3159, allocations: 4 kB / 0.9539 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.708e-05/0.3159, allocations: 11.94 kB / 0.9539 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3163, allocations: 284.9 kB / 0.9541 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.184e-05/0.3164, allocations: 26.5 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.3164, allocations: 8.922 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-06/0.3164, allocations: 0 / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.3166, allocations: 59.33 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3166, allocations: 4 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001911/0.3168, allocations: 65.59 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.3168, allocations: 51.41 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.3169, allocations: 105.8 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.317, allocations: 29.64 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.317, allocations: 88.14 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.317, allocations: 3.906 kB / 0.9546 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.3171, allocations: 29.7 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3172, allocations: 322.8 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.3173, allocations: 31.92 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.3174, allocations: 42.56 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3175, allocations: 84.52 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3175, allocations: 4 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002331/0.3178, allocations: 147.3 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.3178, allocations: 37.69 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3178, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3178, allocations: 4 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-05/0.3179, allocations: 7.875 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.3179, allocations: 0 / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3181, allocations: 27.91 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.3181, allocations: 7.984 kB / 0.9553 GB, free: 3.527 MB / 0.7325 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.39e-05/0.3182, allocations: 129.9 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.3182, allocations: 3.906 kB / 0.9554 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.3182, allocations: 3.5 kB / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3182, allocations: 0 / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3182, allocations: 0 / 0.9554 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3182, allocations: 4 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.3184, allocations: 161.6 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3184, allocations: 0 / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-06/0.3184, allocations: 3.984 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3184, allocations: 4 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.3184, allocations: 4 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3184, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3184, allocations: 0 / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.3185, allocations: 85.22 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.3186, allocations: 77.11 kB / 0.9557 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3186, allocations: 4 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.3186, allocations: 3.984 kB / 0.9557 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.3186, allocations: 4 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.3187, allocations: 4 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.011e-05/0.3187, allocations: 83.28 kB / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.3187, allocations: 0 / 0.9558 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002012/0.3189, allocations: 12 kB / 0.9558 GB, free: 2.852 MB / 0.7325 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.0001565/0.3191, allocations: 111.2 kB / 0.9559 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.3193, allocations: 123.3 kB / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3193, allocations: 192 / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.3193, allocations: 15.94 kB / 0.9561 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.3195, allocations: 17.98 kB / 0.9561 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/0.3198, allocations: 114.1 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.3202, allocations: 0.6844 MB / 0.9569 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.654e-05/0.3202, allocations: 0 / 0.9569 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.3202, allocations: 11.44 kB / 0.9569 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of SimCode: time 1.734e-06/0.3202, allocations: 3.938 kB / 0.9569 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of Templates: time 0.003625/0.3239, allocations: 1.042 MB / 0.9579 GB, free: 0.6758 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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