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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001481/0.001482, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001624/0.001624, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.39 kB / 0.8127 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2596, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001986/0.2616, allocations: 0.6797 MB / 0.9505 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.263, allocations: 1.111 MB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.2631, allocations: 0 / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.2631, allocations: 0 / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.2632, allocations: 3.938 kB / 0.9515 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.2637, allocations: 111.7 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.2638, allocations: 91.81 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.2639, allocations: 4 kB / 0.9517 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.264, allocations: 39.91 kB / 0.9518 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.2641, allocations: 23.97 kB / 0.9518 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.2641, allocations: 11.98 kB / 0.9518 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.2642, allocations: 27.92 kB / 0.9518 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.2642, allocations: 8 kB / 0.9518 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.2643, allocations: 23.92 kB / 0.9519 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2644, allocations: 55.88 kB / 0.9519 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2644, allocations: 4 kB / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2645, allocations: 0 / 0.9519 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.2645, allocations: 0 / 0.9519 GB, free: 7.02 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.000507/0.265, allocations: 381.4 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.265, allocations: 8.031 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.2651, allocations: 4.938 kB / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2653, allocations: 164.3 kB / 0.9525 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.2653, allocations: 8.375 kB / 0.9525 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.2653, allocations: 4.375 kB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2654, allocations: 38.19 kB / 0.9525 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2655, allocations: 4.188 kB / 0.9525 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2655, allocations: 7.938 kB / 0.9525 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2655, allocations: 0 / 0.9525 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.2655, allocations: 11.98 kB / 0.9525 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.266, allocations: 284.9 kB / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.2661, allocations: 26.45 kB / 0.9528 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.2661, allocations: 16.92 kB / 0.9528 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.2662, allocations: 0 / 0.9528 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2664, allocations: 63.39 kB / 0.9529 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.2664, allocations: 0 / 0.9529 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000241/0.2666, allocations: 69.5 kB / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2667, allocations: 55.41 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.2668, allocations: 101.9 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.2668, allocations: 25.7 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.2669, allocations: 92.06 kB / 0.9532 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.2669, allocations: 11.84 kB / 0.9532 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.267, allocations: 33.7 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2672, allocations: 314.8 kB / 0.9536 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.2673, allocations: 23.98 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.2674, allocations: 54.55 kB / 0.9537 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.2675, allocations: 84.14 kB / 0.9537 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2675, allocations: 4 kB / 0.9537 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002751/0.2678, allocations: 139.3 kB / 0.9539 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.2678, allocations: 37.7 kB / 0.9539 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2678, allocations: 4.312 kB / 0.9539 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2679, allocations: 0 / 0.9539 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.2679, allocations: 0 / 0.9539 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.2679, allocations: 7.984 kB / 0.9539 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.2681, allocations: 28 kB / 0.9539 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.2682, allocations: 12 kB / 0.954 GB, free: 4.672 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 0.0001093/0.2683, allocations: 117.8 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2683, allocations: 3.906 kB / 0.9541 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.2683, allocations: 7.484 kB / 0.9541 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2683, allocations: 4 kB / 0.9541 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2683, allocations: 3.938 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2683, allocations: 0 / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2685, allocations: 161.6 kB / 0.9542 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2685, allocations: 0 / 0.9542 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.2685, allocations: 8 kB / 0.9542 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2685, allocations: 0 / 0.9542 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.2686, allocations: 3.984 kB / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2686, allocations: 0 / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2686, allocations: 0 / 0.9542 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2687, allocations: 77.06 kB / 0.9543 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.2688, allocations: 81.11 kB / 0.9544 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.2688, allocations: 0 / 0.9544 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.2688, allocations: 4 kB / 0.9544 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2688, allocations: 7.984 kB / 0.9544 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2689, allocations: 4 kB / 0.9544 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.2689, allocations: 79.28 kB / 0.9545 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.833e-06/0.2689, allocations: 3.938 kB / 0.9545 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002235/0.2691, allocations: 15.94 kB / 0.9545 GB, free: 4 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.0002161/0.2694, allocations: 107.2 kB / 0.9546 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.2696, allocations: 119.4 kB / 0.9547 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2696, allocations: 0 / 0.9547 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.754e-05/0.2697, allocations: 19.88 kB / 0.9547 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2699, allocations: 11.92 kB / 0.9548 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.2703, allocations: 156.2 kB / 0.9549 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2706, allocations: 0.6846 MB / 0.9556 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.2706, allocations: 11.44 kB / 0.9556 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2706, allocations: 0 / 0.9556 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.002877/0.2735, allocations: 0.8582 MB / 0.9564 GB, free: 1.969 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 -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